<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.confirm("Test confirm", function(result){ dhtmlx.confirm({ title:"Custom title", ok:"Yes", cancel:"No", text:"Result: "+result, callback:function(){ dhtmlx.confirm({ type:"confirm-warning", text:"Warning", callback:function(){ dhtmlx.confirm({ title:"Important!", type:"confirm-error", text:"Error" }); } }); } }); }); </script>