Hi !

Focusing is possible only if in the anorther frame is a <input type="text" >
or <textarea>
Use like this.

<input type="button"
onClick="parent.theotherframesname.document.forms[0].textfieldname.focus()">

It should work ....

Best wishes,
                        Andras

-----Original Message-----
From: MSANDIP <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, May 25, 1999 5:14 PM
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