teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

const => let

2019/09/03 07:07

投稿

FKM
FKM

スコア3662

answer CHANGED
@@ -52,7 +52,7 @@
52
52
   }
53
53
 
54
54
  /*以下を書き加える*********************/
55
- const json_idx;
55
+ let json_idx;
56
56
  $('.select-filter').each(function(){
57
57
  $(this).find('input[type=radio]').val();
58
58
  json_idx = $(this).data('jsonidx'); //jsonのインデックスを埋め込んだデータから取得