This should do the trick:

For a button click give frame called 'header' the focus:

<input type="button" value="Button" name="B1" onClick="top.header.focus()">

RT.

-----Original Message-----
From: MSANDIP [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 25, 1999 1:30 PM
To: [EMAIL PROTECTED]
Subject: offtopic: javascript question


Hi,

I have a html containing two frames. Is it possible to pass focus from one
frame to other on some event, say button onclick? If yes, how?

TIA,
Sandip

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to