Hi all,
I have an iframe within my html page, and upon pressing a button i would like to do the following:
where mainframe is the id of the iframe.
The error is givin on the second line of the code saying:
Object doesn't support this method or property
Any ideas?
Thanks
B
I have an iframe within my html page, and upon pressing a button i would like to do the following:
Code:
var location = parent.mainframe.location;
var lArray = location.split("?");
alert(lArray[1]);
where mainframe is the id of the iframe.
The error is givin on the second line of the code saying:
Object doesn't support this method or property
Any ideas?
Thanks
B