jquery not working
-
Hi,
I would like to disable the checkbox until the radio button is selected. I add in some additional JQuery to the form. It is working at the normal HTML page but not working in the contact form.
May I know what should I do?
Here is the new code I add in :
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js”></script>
<script>
$(function() {
$(“#check_addon input”).attr(“disabled”, true);
});$(function(){
$(‘input[type=”radio”]’).click(function(){
if ($(this).is(‘:checked’))
{
$(function() {
$(“#check_addon input”).attr(“disabled”, false);
});
}
});
});</script>
Thank you
Regards,
Jess
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘jquery not working’ is closed to new replies.