質問編集履歴

1

プログラムの修正

2017/01/10 08:31

投稿

sanset
sanset

スコア186

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  $.each($('.table tr'), function(key, value){
42
42
 
43
- if(value.match('/' + searchVal + '/')){ //エラー
43
+ if (value.indexOf(searchVal) != -1) { //エラー
44
44
 
45
45
  aryTr.push(value);
46
46