Using jquery to get all checked checkboxes with a certain class name -
I know that I can get all the checkboxes on the page on this checkbox:
$ ('Input [type = checkbox]'). Each (function () {var sThisVal = (this.checked? $ (This) .val (): "");}); But now I'm using it on a page that has some other checkboxes I do not want to include. How can I change the checked-up check box only to the above code on which there is a certain category on them?
$ ('theClass: checkbox: check') To class theClass .
Comments
Post a Comment