[imp] Focus cursor in username field

Riza Satria Perdana riza@informatika.org
Sun, 05 Nov 2000 06:15:37 +0700 (JAVT)


How to do this in compose window?

Quoting Marco Obaid <admin@sunmuw1.MUW.Edu>:

> Some users complain that they are getting tired of pointing the mouse
> and
> clicking in the username field everytime they need to login. I included
> the following line in login.inc towards the end of the page before
> </body>.
> 
> <script language="Javascript">
> <!--
> document.implogin.imapuser.focus();
> //-->
> 
> It is working fine now.
> 
> I just wanted to pass this on ...

-- 
regards,
-- riza --
__________________________________
SMS Mail: riza@sms.informatika.org

visit: http://opensource.or.id/
Open Source Contributors Group