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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refreshing a frame with a focus command on the other frame

Status
Not open for further replies.

biktoryah

Programmer
Mar 14, 2003
9
0
0
PH
i have two frames...frame_right and frame_left..the frame_right contains my main menu...which i need to refresh once in awhile depending on what screen comes out on the frame_left frame...i have a textbox on the frame_left and on the onload command i am setting the focus on a text box...using this command on the <body> part of the html code...onLoad=&quot;frame_left.txtbox.focus()&quot;...the problem that i am encountering is that whenever i refresh the frame_right frame using parent.frame_right.location.href=&quot;myasp.asp&quot; the focus is not focusing...i have tried using this in the frame_right..parent.frame_left.document.form.txtbox.focus(); and its not working...

any suggestion?
tnx in advance
biktoryah
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top