How to select textboxes that have a length > 0 with jquery?

Posted by chobo2 on Stack Overflow See other posts from Stack Overflow or by chobo2
Published on 2010-05-30T20:46:46Z Indexed on 2010/05/30 20:52 UTC
Read the original article Hit count: 95

Filed under:

Hi

How would I write a selector that would look through say a div of textboxes and find which ones have a value in the textbox(so length would be greater than zero).

Can I do this all in one selector or do I have to get all textboxes then loop through them?

© Stack Overflow or respective owner

Related posts about jQuery