jQuery select elements with value between x and y

Posted by Glide on Stack Overflow See other posts from Stack Overflow or by Glide
Published on 2010-04-01T07:46:58Z Indexed on 2010/04/01 7:53 UTC
Read the original article Hit count: 261

Filed under:
|
|

Hello

<input value="1" />
<input value="10" />
<input value="9" />
<input value="4" />
<input value="5" />

I'd like to be able to do that kind of selection:

$('input[value between 6 and 11]');

Which would give me the 9 and 10. Is there a way to do that ?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about selectors