Patrick Schomburg Patrick Schomburg - 3 months ago 27
jQuery Question

Use jquery .prop for all checkmarks

I have a check field, special, and code that checks it.

$('#Special').prop('checked', true);

What do I change if I add a second Special field with a different value?


If you want to have multiple items you need to use class instead of id on your field because id must be unique on page.