jquery: selecting all elements where attribute is greater than a value

Posted by Ankur on Stack Overflow See other posts from Stack Overflow or by Ankur
Published on 2010-04-10T14:11:39Z Indexed on 2010/04/10 14:13 UTC
Read the original article Hit count: 231

Filed under:
|
|

I know that to filter an element with an atttribute called attrName which has value attrValue I do:

filter("[attrName='attrValue']")

but looking at the docs http://api.jquery.com/category/selectors/ I can't see an option to select all elements s.t. attrName>attrValue

Will this work

   filter("[attrName>'attrValue']")

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about selectors