This content has been marked as final.
Show 2 replies
-
1. Re: automatic focus to the first field in a form
fernando_jmt May 24, 2007 6:43 PM (in response to drgorb)I do it in this way:
<head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <a4j:loadScript src="resource://prototype.js"/> ... <script type="text/javascript"> $("formID:firstFieldId").focus(); </script> </head>
-
2. Re: automatic focus to the first field in a form
moldovan May 25, 2007 3:13 AM (in response to drgorb)Do you use myfaces?
Then you can use the <s:focus> - Tag