Web development, coding & SEO


Cursor appears automatically in a text box.

How to make the cursor appear automatically in a text box?

Answer

<input id="textbox1" type="text" />
<script type="text/javascript">document.getElementById("textbox1").focus()</script>

2009