I’d like to select, from $(this) selector, the fist-level input hidden field. Tried with :
$(this).find('> input[type="hidden"]')
But seems it select nothing.
HTML looks like :
<div id="pollo">
<div>
<input type="hidden" />
<input type="hidden" />
<div>
<input type="hidden" />
</div>
</div>
<input type="hidden" />
</div>
The “first-level” elements are called
childrenand as such, you find them using thechildren()method: