I have a situation like this:
On the parent (framed) page, i declare an object in js in a hidden frame
Then from a child window, I am doing an AJAX call to fetch an xml snippet which comes back as an XML object via HTPPRequest.ResponseXML
What I want to do then is assign the xml object to the xfilter object via
However, this is is not working, giving an undefined error on the xfilter object. IS this a scoping issue in the js varxfilter?
How do I sort this out?
Bastien
I wish my computer would do what I want it to do,
instead of what I tell it to do...
On the parent (framed) page, i declare an object in js in a hidden frame
Code:
var xfilter = new Object();
Then from a child window, I am doing an AJAX call to fetch an xml snippet which comes back as an XML object via HTPPRequest.ResponseXML
What I want to do then is assign the xml object to the xfilter object via
Code:
//d is the object to the parent window's hidden frame
d = window.opener.parent.frames.hidden_work_area;
d.xfilter[key] = objXML;
However, this is is not working, giving an undefined error on the xfilter object. IS this a scoping issue in the js varxfilter?
How do I sort this out?
Bastien
I wish my computer would do what I want it to do,
instead of what I tell it to do...