My dialog box is defined under the div
#dialogbox
When the dialog box opens i want to trigger an event such that it alerts open. The code im using is:
$("#dialogbox").dialog({open: function(){
alert("OPEN");
}
});
But this doesnt seem to trigger when dialog box is opened Please help