回答編集履歴
1
コード修正
answer
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
// <h3>タグの中身を検証
|
9
9
|
if( $(this).children('h3').text() !== "*") {
|
10
10
|
// <h3>*</h3>が含まれていないときは、配下のa要素をすべて処理
|
11
|
-
$(this).
|
11
|
+
$(this).find('a').each(function (idx) {
|
12
12
|
console.log("リンク:" + $(this).attr('href'));
|
13
13
|
});
|
14
14
|
}
|