jeudi 26 janvier 2017

How to check or uncheck a checkbox with Jquery in Form 7 forms

How can I set a checkbox in Form 7 to "checked" or "unchecked"?

The ID of the checkbox is id:brengtijdzat.

I tried:

$("#brengtijdzat").prop("checked", true);

and

$("#brengtijdzat").prop("checked", false);

but that does not work!




Aucun commentaire:

Enregistrer un commentaire