64
rated 0 times
[
67]
[
3]
/ answers: 1 / hits: 22534
/ 13 Years ago, mon, august 15, 2011, 12:00:00
I have something like this in a JavaScript control, how does one subscribe to this event?
if(typeof(pnlDialog.onclose) == 'function')
pnlDialog.onclose();
I thought it was something like this, but haven't been successful.
var mycontrol = document.getElementById('myDialog');
mycontrol.attachEvent('onclose', function()
{
alert('closed');
});
More From » javascript