DHTMLX Docs & Samples Explorer

### Message

Source

    <doctype html>

    <script type="text/javascript" src='../../codebase/dhtmlxmessage.js'></script>
    <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxmessage_dhx_skyblue.css">

    <script type="text/javascript">
    dhtmlx.message({
        text: "Test Message",
        expire: -1
    })
    </script>
    <script type="text/javascript">
    dhtmlx.message({
        type: "error",
        text: "Test Error Message",
        expire: -1
    })
    </script>
    <input type='button' value='message' onclick='dhtmlx.message("You have pressed the button!")'>
    <input type='button' value='styled message' onclick='dhtmlx.message({ type:"error", text:"You have pressed the <br> CRITICAL button!" })'>