Check Boxes
-
Small box with a check or without a check, depending on state.
-
yes/no, true/false values.
-
May click 0:many check boxes by default.
-
<INPUT TYPE="CHECKBOX" NAME="CheckBox1" VALUE="Yes" CHECKED>
-
Attributes: similar to button, but CHECKED (optional) defines
the default value of this check box.
-
JavaScript checkbox object:
-
name - the name assigned to the checkbox.
-
value - true value for the checkbox
-
defaultChecked - default status of the check box
-
checked - current value of the check box: true for checked,
false for not checked.
-
Method: click() checks the box.
-
Event: onClick when box is checked.
Textfields again....
Radio Buttons
Home
Internet II: Day 4