0

I've been working in some fixes where I'm forced to use a new window to fill part of a form. My approach is to manipulate parent window's DOM as a visual reference of the users selection.

window.opener.jQuery('#parent-div');

The code above works in Chrome/Firefox. I see, deja vu style, this doesn't work in IE/EDGE. My nightmare once again.

Error SCRIPT16386: No such interface supported
jquery.js (5665,4)

Edge error links this useless URL. jQuery version 1.11.3

I've tried many flavors of selecting parent div. Native and jQuery as described here here or here, and many others without any luck.

Any thoughts? Thank you

Community
  • 1
  • 1
Alwin Kesler
  • 1,450
  • 1
  • 20
  • 41
  • What "doesn't work" means? Is there an error? – plalx May 27 '16 at 16:04
  • Sorry, I'm so frustrated about this that I forgot the most important part – Alwin Kesler May 27 '16 at 16:15
  • Are you [testing this on localhost](http://stackoverflow.com/questions/31196295/window-opener-in-microsoft-edge-undefined-when-running-at-localhost)? – spender May 27 '16 at 16:16
  • Yes, I've a dev environment running ubuntu. To test in Edge i'm using a windows lan machine. Firefox/chrome examples works with this configuration though – Alwin Kesler May 27 '16 at 16:18
  • What's the code at the error line in jquery? – plalx May 27 '16 at 16:19
  • @AlwinKesler Might be worth following the link I posted and seeing if anything applies... – spender May 27 '16 at 16:19
  • @spender I see your point. No, I've a router DNS rule to map to my dev machine's IP, maybe I could check some vagrant configuration following your advise. Let me see where can I start. Thank you – Alwin Kesler May 27 '16 at 16:25

0 Answers0