Form JavaScript Tutorial

Syntax

document.form.checkbox.focus()
The focus() method applies focus to a check box without invoking the checkbox's onFocus event handler.


    
      Option 1

      Option 2