Bill,
window.close() should do the trick. NOTE: window.close() with parentheses,
since it's a method
/Robert
-----Original Message-----
From: Bill Robinson [mailto:bill.robinson@s...]
Sent: den 25 oktober 2001 16:25
To: JavaScript HowTo
Subject: [javascript_howto] closing modal dialog box
I am opening up a modal popup dialog window using window.showModalDialog.
I have a button in the dialog window, that I would like to be able to
close the window in its onclick() event. I have tried window.close, but
htis doesn't seem to work.
Any suggestions would be greatly appreciated.
Thanks,
Bill Robinson
$subst('Email.Unsub')