I asked this before, but off topic from a previous thread, so going to
start a new thread...
For this simple test case i made,
http://arihoj.freehostia.com/js_ajax/popups/popup.html

I trying to destroy the window manually (when user hits submit button
in that popup, i remove the popup via DOM)... so my procedure is:
Click on 'Click Here for Browser-Style Popup.', Enter some info, and hit
the input button in that dialog window (it calls a function which
removes the popup).
Since the window is removed from DOM, you can click on the hyperlink
again to recreate a brand-spanking new popup.
So I then Click on 'Click Here for Browser-Style Popup.' again, and hit the
X to close the window. It doesnt close it though and gives a javascript
error after a second: 'element.parentNode has no properties'.

At this point, I could just clear the input box and use scriptalicious
effect to close it to reuse window again. But just curious why its not
theoretically working?

Thanks,
Arian

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to