$(document).ready(function () { $("#dialog").dialog({ autoOpen: true, modal: true, title: "Information", width: 200, height: 150, open: function () { }});
$(document).ready(function () { $("#dialog").dialog({ autoOpen: true, modal: true, title: "Information", width: 200, height: 150, open: function () { }, buttons:{ text:"Ok", click : function() { $(this).dialog('close'); } } });
$(document).ready(function () { $("#dialog").dialog({ autoOpen: true, modal: true, title: "Information", width: 200, height: 150, open: function () { }, buttons:[{ text:"Ok", click : function() { $(this).dialog('close'); } }] }); });
<script type="text/javascript"> $(document).ready(function () { $("#dialog").dialog({ autoOpen: true, modal: true, title: "Information", width: 200, height: 150, buttons: { Ok: function () { //Do u r stuff here }, Cancel: function () { $(this).dialog("close"); } } }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)