I have the following markup:
<table class="dogs">
<tr>
<td> <input class="name"> </td>
etc.
I’m trying to select the input element using the following statement:
$('table.dogs > input.name')
However, I get no results. What am I doing wrong?
I believe with that syntax you’d be looking for a direct child of
table, when you should be looking for a direct child oftd. Try:You really don’t need the
>in that case though.