Posts Tagged ‘JS events’

Focus OnLoad

You can put the user’s cursor inside a text box (calling the text box’ focus) as soon as the page is loaded. This helps ensure that visitors do not ‘overlook’ an important form item on your site. It only uses one line of code! This part goes into your body tag: <BODY OnLoad=”document.nameform.user.focus();”> Then you…

Read More