| Author |
Does IFRAME has location attribute?
|
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
|
|
I have following statement in my existing code.
window.frames[myframe.name].location.href = "about:blank";
I searched on Google and did not find any thing like frame.location. Although above code does not give any error. But when I tried with alert(myframe.location) and alert(myframe.location.href), I faced errors.
|
My blood is tested +ve for Java.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
should be parent.frames["frameName"].window.location
Eric
|
 |
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
|
|
|
Thanks Eric!
|
 |
 |
|
|
subject: Does IFRAME has location attribute?
|
|
|