.siblings()
は兄弟要素を取得する。
.parent()
は親要素を取得する。
.children()
は子要素を取得する。
$("#id").find("...")
のようにしてある要素の子孫のみ検索対象にして要素を取得する。
.siblings()
は兄弟要素を取得する。
.parent()
は親要素を取得する。
.children()
は子要素を取得する。
$("#id").find("...")
のようにしてある要素の子孫のみ検索対象にして要素を取得する。