Figured out where I went wrong.  Forgot to add id="application" to the
<form> tag.

--
Jake Cameron, BCSc(UNB)
Technical Specialist III
Library Systems and Web Services
University of Lethbridge
Phone: (403) 329-2756
Office: L1110C
Email: [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cameron,
Jacob
Sent: Friday, July 06, 2007 2:20 PM
To: [email protected]
Subject: [Dspace-tech] Auto Focus Script for Login

Hey everyone,

Has anyone ever used a java script to auto focus on the email address
field on login-form.jsp?  I've included the java script, but it doesn't
appear to be working.

e.g. <script language="JavaScript"
type="text/javascript">document.application.tlogin_email.focus();</scrip
t>

Jake

--
Jake Cameron, BCSc(UNB)
Technical Specialist III
Library Systems and Web Services
University of Lethbridge
Phone: (403) 329-2756
Office: L1110C
Email: [EMAIL PROTECTED]



------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to