Parent & jQuery

Parent & jQuery

Hi, All.

There is a jQuery-code:
  1. $(".slider").click(function() {
  2. alert( $(this).parent("table.question > tr > td > input").attr("name") );
  3. });
and DOM HTML-code:
  1. <table border="1" width=50% >
    <tr>
    <td>
    <table border="0" width=100%>
    <tr>
    <td colspan=21 align=center><input name="001001" type="hidden" value="1001" />1. Не везет, так не везет...</td>
    </td>
    <tr>
    <td>
    <div class="slider-container" style="width:500px; margin:auto; vertical-align:top;">
    <div id="slider_1" class="slider"></div>
    <div class="scale"></div>
    </div>
    </td>
    <td width="18" align="center" id="100150">&nbsp;<input name="001001" type="hidden" value="__">
    </td>
    </tr>
    </table>
    </td>
    </tr>



















  1. </table>

How can i find name of an element <input>?