Dialog box how-to question
Hi All,
I was trying to replace my window.open() code with the jQuery Dialog
box. Now here is my code:
$(function() {
$("<div id='mydiv'></div>").load("WebForm1.aspx").dialog();
});
WebForm1.aspx has Ok and Cancel buttons. I want to close my Dialog box
when I click on Cancel from WebFrom1.aspx. Can anyone tell me how to
do it.