The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

having trouble with windowopen;; OpenWin.testvarOpen = window.testvarOpener does not work

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

10. November 2011, 14:37:57

having trouble with windowopen;; OpenWin.testvarOpen = window.testvarOpener does not work

Hello,

I am using Opera 11.51. I'm having some difficulty with window.open. Here is the code:

var ParentVariable = 1;

var ChildWin = window.open("ChildWindow.html", "ChildWindow");
ChildWin.ChildVar = ParentVariable;
ChildWin.ChildVarToo = 2;

The child window opens, but ChildVar and ChildVarToo did not exist. For the record, the above worked in all browsers but Opera; that is, Chrome (mac/win), Safari (mac/win), IE, and FireFox. So, what is the issue with Opera, here???

Thank you very much.

Forums » Opera for Windows/Mac/Linux » Opera browser