Javascript frame location
Web Development
2
Posts
2
Posters
0
Views
1
Watching
-
Does anyone know how to obtain the location of a frame within a frameset in javascript. I tried:
location = parent.mainFrame.location.href;
but that does not work as it says permission denied. Thank you -
Does anyone know how to obtain the location of a frame within a frameset in javascript. I tried:
location = parent.mainFrame.location.href;
but that does not work as it says permission denied. Thank you"mainFrame" is a frame name? and what do your codes locate? aa.htm tt.htm var location= parent.bb.location.href; alert(location); testing in ie6.0 Thinking-Asking-Thinking