HTML:
<div class="control-group">
<label class="control-label" for="some-id-1"><a href="http://example.com/some-id-1" target="_blank">Text1</a></label>
<div class="controls">
<input type="text" id="some-id-1" name="some-id-1"><br>
<input type="text" id="some-id-11" name="some-id-11"><br>
</div>
</div>
<div class="control-group">
<label class="control-label" for="some-id-2"><a href="http://example.com/some-id-2" target="_blank">Text2</a></label>
<div class="controls">
<input type="text" id="some-id-2" name="some-id-2"><br>
<input type="text" id="some-id-22" name="some-id-22"><br>
</div>
</div>
JavaScript:
$(".control-label a").click(function(){
$(this).parent().next().find('input').focus();
});
它选择控制组中的最后一个字段。我应该如何选择第一个?