tags:

views:

35

answers:

2

How to find a <input> whose type is text and value is "no"?

+4  A: 

You can use multiple attribute selectors:

$("input[type='text'][value='no']")

More info:

Or use filter:

$("input:text").filter(function () {
  return this.value == "no";
});
CMS
You are more clever:)
A: 
$('input:text[value=no]')
Scott Evernden