Form JavaScript Tutorial

Syntax

document.form.checkbox.type
The type property provides access to type attribute of the check box.
This property is a read-only string that always contains checkbox.


    
                   name="peppers">Peppers

                   name="sausage">Sausage

                   name="onion">Onion

                   name="bacon">Bacon

                   value="Order Pizza"
             name="orderButton"
             onClick="alert('ordered.')">