How to get all child inputs of a div element (jQuery)

Posted by user137348 on Stack Overflow See other posts from Stack Overflow or by user137348
Published on 2010-03-08T16:11:59Z Indexed on 2010/12/21 16:54 UTC
Read the original article Hit count: 174

Filed under:
|

HTML:

<div id="panel">
  <table>
    <tr>
       <td><input id="Search_NazovProjektu" type="text" value="" /></td>
    </tr>
    <tr>
       <td><input id="Search_Popis" type="text" value="" /></td>
    </tr>
  </table>
</div>

I need to select all inputs in the particular div.

This's not working:

var i = $("#panel > :input");

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-selectors