M
Muffinman
Hi,
I want to split the result from
window.frames['data_frame'].document.location;, this in order to find
out which page is currently opened in the specific frame. When I do it
like this:
var source = window.frames['data_frame'].document.location;
// var source = "W3Schools is great!";
index_source = source.split('/');
IE gives an error that this method or property is not supported by this
object. When I check it on the other var it is accepted. Is there any
way I can make this work? I already tried to do it with
document.getElementById().src etc.. but that is not very reliable.
Thanks in advance, Maarten
I want to split the result from
window.frames['data_frame'].document.location;, this in order to find
out which page is currently opened in the specific frame. When I do it
like this:
var source = window.frames['data_frame'].document.location;
// var source = "W3Schools is great!";
index_source = source.split('/');
IE gives an error that this method or property is not supported by this
object. When I check it on the other var it is accepted. Is there any
way I can make this work? I already tried to do it with
document.getElementById().src etc.. but that is not very reliable.
Thanks in advance, Maarten