how to handled external page buttons events in dialog box ?
Hello,
How to handled the external page button events in dialog box.
below is the my code
$('#matrixOptionsContainer').dblclick(function(){
$("#matrixsPopup").dialog({
height: 500,
width: 580,
modal: true,
open: function ()
{
$(this).load("updatematrix.html");
},
title: 'Matrixs properties'
$("#matrixsPopup").dialog("open");
});
////////////////////////////////////////////
in updatematrix.html page, i have placed two buttons, 1) update 2) cancel.
in update button click --- some code added after that the dialog box needs to close. in cancel button it will close the dialog box.
im tried in many ways to close the dialog box after clicking the update button. but i'm unable to do that.
please tell me how to achieve this functionality with dialog box.
Thanks in advance,
Thanks,
Kolluri