Reputation: 63626
How to find a <input>
whose type
is text
and value
is "no"
?
Upvotes: 0
Views: 116
Reputation: 827198
You can use multiple attribute selectors:
$("input[type='text'][value='no']")
More info:
Or use filter
:
$("input:text").filter(function () {
return this.value == "no";
});
Upvotes: 4