回答編集履歴

2

調整

2018/10/29 03:52

投稿

yambejp
yambejp

スコア114883

test CHANGED
@@ -24,7 +24,11 @@
24
24
 
25
25
  $(function(){
26
26
 
27
- console.log($(".txt_bx").map(function(){return $(this).text();}).get());
27
+ console.log($(".txt_bx").map(function(){
28
+
29
+ return $(this).text();
30
+
31
+ }).get());
28
32
 
29
33
  });
30
34
 

1

調整

2018/10/29 03:52

投稿

yambejp
yambejp

スコア114883

test CHANGED
@@ -15,3 +15,17 @@
15
15
  });
16
16
 
17
17
  ```
18
+
19
+
20
+
21
+ もしくは走査して配列でうける
22
+
23
+ ```javascript
24
+
25
+ $(function(){
26
+
27
+ console.log($(".txt_bx").map(function(){return $(this).text();}).get());
28
+
29
+ });
30
+
31
+ ```