»
EnglishFrenchVietnamese

Print - Form Focus - JavaScriptBank.com

Full version: jsB@nk » Form » Form Focus
URL: https://www.javascriptbank.com/form-focus.html

Form Focus © JavaScriptBank.comHere's a helpful little script for anyone who has ever made a form and wants to have the cursor pop into their first field when the page is loaded. The visitor can start typing straight away, without moving the mouse.

Full version: jsB@nk » Form » Form Focus
URL: https://www.javascriptbank.com/form-focus.html



HTML
<BODY onload=self.focus();document.Form_Name.Field_Name.focus()><FORM name=Form_Name><B>Please enter a number:</B>&nbsp;&nbsp; <INPUT maxLength=9 size=10 name=Field_Name> </FORM></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->