This is my code i open the page url into the dialog. now i want to close the dialog from the page default4.aspx that is actually inside the dialog..
In Default4.aspx there is button name close: now i want to close the dialog and also want pass some value to close function :
close: function(event,ui){
here:
}
the code i used:
$("#pop").load('Default4.aspx').dialog({
height: 625,
width: 600,
modal:true,
close: function(event,ui){
//alert(event)
//Check for Ok or cancle
// if ok then do something
// alert(ui);
}
});
Any Idea Guys How Can i do this..
Just call
$("#pop").dialog("close");in Default4.aspxFor passing parametrs you can use input hidden element