$("#Loadqty_detl").off("click"); $(document).on("click", "#Loadqty_detl", function () { var dlg1= $('<div id=DialogDiv>').dialog({ height: $(document).height() - 100, width: $(document).width() - 100, appendTo:"form", closeOnEscape: true, autoOpen: false, modal: true, title: "Message", open: function () { $(this).load('Ord_Quantitydetl.aspx'); }, show: { effect: "blind", duration: 500 }, hide: { effect: "clip", duration: 1000 }, buttons: { Submit: function () { $("[id*=btnmsgOk]").click(); }, Close: function () { $(this).dialog("close"); } } }); dlg1.dialog("open"); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)