I have a problem with a child window using the parent's FORM to do a
submission/post to open a new window. This is being blocked by IE7. This is
happening when accessing an external website that is not listed in the IE7
pop-up blocker allow list.
If the current page does a FORM submission/post to target "_blank" then this
is allowed and a new window pops up. However, if the new child window calls
opener.top.document.someForm.submit(); then this is blocked.
I am developing a website and I don't want to tell users how to setup their
popup blocker. I wish to find a way to get around this problem. Does anyone
know how to allow a child window use it's parent window's form to do a
submission/post to target "_blank"? without being stopped by IE7 pop-up
blocker?
Andrew Wan - 14 Nov 2007 16:22 GMT
the parent window contains the main form with all the hidden input elements
for posting & also correct URL, etc. the child windows know nothing about
the URL nor does it have any forms of it's own. the child window would call
the parent window's form to submit... to OpenDoc.asp to open a new child
window. I do not want the child window to open another child window within
itself. Only the parent window should be allowed to open many child windows.
Get what I mean?
I even tried writing a auxillary function in the parent window to
openDoc()... and the child window calls this openDoc in the parent window.
But this still gets blocked. It's like as if IE7 knows the original caller.
Randy Webb - 14 Nov 2007 22:58 GMT
Andrew Wan said the following on 11/14/2007 11:01 AM:
> I have a problem with a child window using the parent's FORM to do a
> submission/post to open a new window. This is being blocked by IE7. This is
> happening when accessing an external website that is not listed in the IE7
> pop-up blocker allow list.
Stop trying to open a new window, problem solved.

Signature
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sam Hobbs - 15 Nov 2007 00:13 GMT
I might not understand. Are you trying to get around the pop-up blocker? If
that is what you are trying to do, then there are thousands of obnoxious
jerks that want to do that.
Are you saying you don't want to give the user the option of controlling
their system? Are you saying you want to force the user to get your pop-ups?
If a pop-up is what the user wants, then they will be happy to allow it.
>I have a problem with a child window using the parent's FORM to do a
>submission/post to open a new window. This is being blocked by IE7. This is
[quoted text clipped - 10 lines]
> do a submission/post to target "_blank"? without being stopped by IE7
> pop-up blocker?