Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read the TITLE of the Frame from another frame

Status
Not open for further replies.

IonCurici

Programmer
Oct 29, 2002
24
MD
how do i read other properties of the frame from another frame, like title, bgColor, etc? pls help.
 
Do it just like it was from the same frame, only change the beginning. Instead of :

document.title (or whatever it is)
do this:
top.other_frame_name.document.title

Rick
 
keep in mind that for security reasons, js will only allow this if the other frame is in the same domain as your page - this means you cannot have a frame that loads amazon.com and then tries to read the document properties of amazon's page.
=========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top