Javascript/JQuery - How to get number on specific child elements

Posted by user315648 on Stack Overflow See other posts from Stack Overflow or by user315648
Published on 2010-04-13T15:38:28Z Indexed on 2010/04/13 15:43 UTC
Read the original article Hit count: 128

Filed under:
|

I wish to get the number of all TR elements that have a input element in them somewhere. How should I proceed ?

Html :

<tbody> <tr> <td>Ignore this item 1</td> </tr> <tr> <td>Ignore this item 2</td> </tr> <tr> <td><input blablabla>... Include this TR...</td> </tr> </tbody>

Thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript