Warning: Undefined array key "mobile_dir" in /home/kagla/new-sir/old/common.php on line 315
jQuery closest().find() > 개발자팁

jQuery closest().find() > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

jQuery closest().find() 정보

jQuery jQuery closest().find()

본문

<table>
<tr>
    <td><input type=text name='aaa[]'></td>
    <td><input type='text name='bbb[]'></td>
</tr>
<tr>
    <td><input type=text name='aaa[]'></td>
    <td><input type='text name='bbb[]'></td>
</tr>
</table>
 
bbb 에 포커스가 있을때 aaa 를 얻으려면
 
$(this).closest("tr").find("[name='aaa\[\]']")
 
추천
2
  • 복사

댓글 2개


    Warning: Undefined variable $link_buttons in /home/kagla/new-sir/old/skin/board/v16_chat/view.skin.php on line 868
© SIRSOFT
현재 페이지 제일 처음으로