Going for $("input[name^=paradigm]").is(":checked") or $("input [name^=paradigm]").not(":checked") should get you the list of input elements with name attributes starting with "paradigm" -- because I'm not comfortable with that [] in the name attribute... -- which either are or are not checked. You can then either .each() or .map() across that collection to get the .val() out of the checked (or not checked) elements. Since the checkbox you're trying to avoid doesn't have a name, it shouldn't be selected by either query.
If I were in your position, I'd try to add a CSS class or some other custom attribute to all of the checkboxes in the collection that we want to select off of and query for that. But what the subject of your post suggests is that you're looking for... $(document).ready(function() { $("input[type=checkbox]").click(function() { $(this).parents("tr").toggleClass("HighlightClassDefinedByMyCss"); }); }); which will result in any checkbox on the page adding (or removing) the HighlightClassDefinedByMyCss from the first TR in its parent chain when it is clicked. In theory. To step things up a notch, consider that this tangentally related code selectedBookmarkTitles = $("input:checked").map(function() { return $ (this).parents("tr").find(".bookmarkTitleLink").text() }).get(); will find every checked checkbox on a page, and then go to their parent table row, dig up whatever has the CSS class bookmarkTitleLink, get the text out of that element, and return that entire list of strings as an array that is being stored in the selectedBookmarkTitles variable. Hope it helps! On Feb 19, 2:43 am, heohni <heidi.anselstet...@consultingteam.de> wrote: > Hi, sorry, for this newbie question: > > <input type="checkbox" name="paradigm[]" value="{$value.ver_id}" /> > > How can I check if this checkbox is checked or not? > > And how can I avoid this check for this particular checkbox: <input > type="checkbox" id="paradigm_all" /> > > Thanks so much!!