Tony, thanks so much! Tested EQ What I needed!
-----Original Message-----
From: Tony Bentley [mailto:[email protected]]
Sent: Tuesday, October 13, 2009 11:32 AM
To: cf-talk
Subject: Re: Looking for jQuery Form Help...
Tested:
<input type="radio" onclick="showHide(true)" value="true"
name="UseDifferentShippingAddress"> Disable
<input type="radio" onclick="showHide(false)" value="true"
name="UseDifferentShippingAddress" checked="checked"> Enable
<div id="DifferentShippingAddress" > <input name="shippingaddress"
disabled="true" /></div>
<script>
function showHide(bool){
if(bool)
{
$("input[name=shippingaddress]").attr("disabled",true);
}
else{
$("input[name=shippingaddress]").attr("disabled",false);
}
}
</script>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:327133
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4