This project is archived and is in readonly mode.

IE8 - Cannot inject into window.opener
Reported by Michael | June 14th, 2010 @ 02:42 PM | in 2.0 (closed)
I have a page that opens a popup. From that page, I grab several values from the previous and the user picks which records to save. After clicking Save, it changes a variable to false onthe parent (window.opener), calls a function, injects a hidden element (to simulate the Submit button being clicked), and submits the form. In some cases, the popup will not be opened, so the actual submit button would be functional.
It works fine in Firefox 3.6.3, but not in IE 8.0.6001.18702. I've attached a zip file that is a very simple example which also worked/didn't work like the above version I described.
To make sure IE didn't block the popup from creating an element, I used window.opener.document.createElement('input'), set the correct attributes (setAttribute), and appended the element using appendChild. That worked, so I think inject needs a bit of work.
Comments and changes to this ticket
-
Christoph Pojer September 5th, 2010 @ 01:25 PM
- Milestone set to 2.0
- Milestone order changed from 0 to 0
-
Christoph Pojer September 5th, 2010 @ 01:26 PM
- State changed from new to open
-
ibolmo January 19th, 2012 @ 07:52 AM
- State changed from open to invalid
Moved to Github Issues: https://github.com/mootools/mootools-core/issues/2214
Please use Github Issues, since Lighthouse has been deprecated.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »