I have a checkbox and if I tick it I want a textfield to become enabled (disabled as default) and when I untick the the checkbox I want it to become disabled again.
@Martin -to delete the text in the textboxes that becomes disabled and untick the checkboxes that becomes disabled - just add this line
$("#TextField_ID_name").val("");
and to uncheck the checkbox, you need to assign ID name to the checkbox and then add this line to the Jquery
$("#chekcbox_ID_name").attr('checked',false)
Hope this helps someone ... though I'm replying to Martins question after 2 years since his posting :-)