Reputation: 1377
If I have a form with 5 input[type='text']
in which only one has the attribute class="dontSelectMe"
, how do I to select all these inputs without selecting class="dontSelectMe"
?
Upvotes: 0
Views: 51
Reputation: 13809
Iterate through all the input[type='text']
's and check that their className
isn't dontSelectMe
, or use :not
Upvotes: 2