Find text boxes whose value is 'something' in jQuery

I need to find the DOM elements who are text boxes and whose value is 'xyz' with attribute selector that too without using each() function.

  <input type='text' id='txtAl' value='xyz' />
  <br /><br />
  <input type='text' id='txtBl' value='xyz' />
  <br /><br />
  <input type='text' id='txtCl' value='xyz' />
  <br /><br />
  <input type='text' id='txtCl' value='ABC' />
  <br/><br />
  <input type='text' id='txtCl' value='DEF' />

Answers 1

Related Articles