Yes try something like this:

<!--

<form>
<input type="checkbox" name="cb1" onClick="if
(this.checked){this.form.cb1[1].disabled = true;this.form.cb1[2].checked =
true;}else{this.form.cb1[1].disabled = false;}">Check Box 1<br>
<input type="checkbox" name="cb1">Check Box 2<br>
<input type="checkbox" name="cb1">Check Box 3<br>
</form>


-->

HTH,
Duane

-----Original Message-----
From: Boardwine, David L. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 2:54 PM
To: CF-Talk
Subject: Using Javascript to relate checkboxes


Hi All,

I want to automatically check (and disable) one checkbox when another of
several checkboxes is checked. Can I do this with client-side scripting? Any
help would be appreciated.

TIA

David L. Boardwine
Senior Analyst
Ohio Department of Development/ITO
Phone (614) 752-4431
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to