Cursor in form

I saw somebody asking the other day for a script that automatically puts the user's cursor in the desired form text box, but I don't seem to be able to find that post again... :rolleyes: <br />
<br />
So... anyways... here's the code:<br />
<br />
<!-- Goes in the body tag: --><br />
<body OnLoad="document.cursorin.yrname.focus();"><br />
<br />
<!-- Goes in the form: --><br />
<form name="cursorin"><br />
Your name: <input type="text" name="yrname" size="10"><br />
</form><!--content-->
 
Back
Top