I have been working with the following bit of code:
var loc1=("http://" + theURL);
parent.frames[1].location.href = loc1;
When I run this in an HTML page, it returns the desired reults. THe URL specified in the top frame of the page loads in the bottom frame.
However, when I save this same coding as HTA, I receive the following error message:
'Parent.frames.1.location' is null or not an object
I need this to be saved as HTA, so simply keeping it as HTML is not an option.
Can anyone tell me what I am doing wrong?
var loc1=("http://" + theURL);
parent.frames[1].location.href = loc1;
When I run this in an HTML page, it returns the desired reults. THe URL specified in the top frame of the page loads in the bottom frame.
However, when I save this same coding as HTA, I receive the following error message:
'Parent.frames.1.location' is null or not an object
I need this to be saved as HTA, so simply keeping it as HTML is not an option.
Can anyone tell me what I am doing wrong?