Form JavaScript Tutorial

Syntax

document.form.checkbox.click()
The click() method simulates the click event.
The clicked property is adjusted accordingly when this method is used.


    
      4 doors

      2 doors

      Step 2: