Changes

Building Forms with JavaScript

186 bytes added, 19:54, 16 May 2007
JavaScript Check Boxes
<pre>
if (document.orderForm.mailListBox.checked)
{
addToMailingList();
}
</pre>
 
You can also change the state of a Check Box by explicitly setting the ''checked'' property:
 
<pre>
 
document.orderForm.mailListBox.checked = false;
</pre>