Patrick Schomburg Patrick Schomburg - 5 months ago 39
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.