location.href in frames

wxdqz

New Member
I have a page with two frames. Within the script of the first frame, I am trying to access the location.href of the second frame. My code is:

alert(parent.document.frames("FFF").location.href);

This code does NOT work and I'm very frustrated. I've tried all kinds of different possiblities and I just can't seem to get a handle on the location.href property of the frame - even from the parent page.

Can anyone help, please?
 
Back
Top