jQuery selector for the label of a checkbox

This should work:

$("label[for="comedyclubs"]")

See also: Selectors/attributeEquals – jQuery JavaScript Library

Leave a Comment