07-31-2006, 07:27 PM
I've created a website that steps through a series of questions using showModalDialog in IE. Now the sponsor for the project wants interoperability in Firefox. It's not really feasible to change the setup of the entire page; what I need to do is use window.open and not only get the return value but wait for it without doing an infinite loop (i.e. while (!windowReference.close).
07-31-2006, 09:40 PM
08-01-2006, 05:23 PM
Thanks, that is actually perfect for what I am doing. I'm running into one small problem, however. When I copy the code into my own files for running, I get an error, supposedly on line 8 (a blank line) charcter 1706. The error tells me that 'null' is null or not an object. After some searching, I've come to the conclusion that it must be the null in the modaldbox.js file he provides. What am I missing that is causing this null to be invalid? It clearly works on his page, so I assume there is something I just don't know to do at work here. Again, thanks for the help.