Hey Everyone,
Lets say I have a variable declared as such:
var newVariable="opener";
How can I then use this variable to access the opener of 'window' ?
Meaning, I dont want to access it as such:
window.opener
but as: window.+newVariable
So it uses the contents of newVariable to access the opener.
I need this because I have a couple of variables which I need to
concat to eachother as a string,
and this string in turn is the variable I need to access from
window.opener.varSomething
where varSomething is the variable that stores the variable I need to
access.
Hope I am clear enough,
Regards Frank