First, I am not a programmer, just a hack who tries to make things work
I am trying to process a form using javascript that detects if the user has checked the set as default box and then sets a cookie based on the regional preference. I figured out how to get the values from the radiobuttons, but am stuck on the checkbox value. Here's my form code. Like I said, I just need to know how to retreive the value from the checkbox field.
<form name="form">
<p><b>Select Region</b><br>
<input type="radio" name="group1" value="North America" checked>
North America<br>
<input type="radio" name="group1" value="Europe">
Europe</p>
<p>
<input name="remember" type="checkbox" id="remember" value="yes">
Remember selection<br>
<input type="Button" onClick="MM_callJS('GetDefault')" value="Select">
</p>
</form>