hey guys,
kinda embarrassed to ask this question though can't seem to find how to do it.. How when a page loads up do I get the cursor to automatically be in an input field in a form... I don't want people to have to click with their mouse to go into that field... How do I do this??
Thanks for you help in advance!
<input type="whatever" onLoad="this.focus()">
This is the code I have put in there..
<input type="text" name="alias" onload="this.focus()">
Doesn't seem to bring the cursor to the field?? Any idea's?
assuming your form is named myform and your input is named myinput, you can use this
<body onload="myform.myinput.focus();"> <form name="myform"> <input type="text" name="myinput">
awesome worked a treat, thanks!