I have the following jquery code which works fine.
$('#onlyTwo').click(function() {
$("#textarea3").attr("disabled", true);
$("#textarea4").attr("disabled", true);
$("#radio3").attr("disabled", true);
$("#radio4").attr("disabled", true);
return true;
});
This is making some fields disabled when 'onlyTwo' checkbox is clicked. How can i make these fields enabed again when 'onlyTwo' checkbox is unchecked...
basically i want to know how to find out whether a checkbox is checked or not