You just need to point to each form element that you want to disable. For 
instance, if you setup a parent container then you can command each matching 
element to disable:

function disableForm(bool){

$("#DivWithInputs input,#DivWithInputs textarea").each(function(){

$(this).attr("disabled",bool);

});

}

<div id="DivWithInputs">
<input type=checkbox>
<input type=radio>
<textarea/>
<etc>
</div>

Then just setup a true/false on your two radios 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327154
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to