I am trying to make a selector using form labels.
$("label:not[for='other']")
$("label[for='other']")
<label for="other">
<label for="somethingElse">
If someone selects a label for "other", do something. If they choose a shortcut for everything that is not “different,” do something else.
source
share