[thelist] JS: catching a window.returnValue from a Modal Dialog...

Tom Dell'Aringa pixelmech at yahoo.com
Mon Sep 8 10:04:54 CDT 2003


Heyo,

Working with a modal dialog. Setting a return value like so:

window.returnValue = "foo";

based on:

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/returnvalue_0.asp

which only applies to a modal dialog. 

Question: How do I catch this value? The page doesn't say. I don't
see any event being fired off, I can't use onload since the opener is
not reloading. In a modal dialog there is no opener connection so I
can't use that either. Anyone know?

TIA

Tom


=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: Premium Content Author / JavaScript / Every Friday!
http://www.maccaws.com/ :: Group Leader
[Making A Commercial Case for Adopting Web Standards]

"That's not art, that's just annoying." -- Squidward


More information about the thelist mailing list