修复搜索栏重置时筛选框里的input不重置的问题

This commit is contained in:
chenjinsong
2018-06-15 13:54:47 +08:00
parent b6cf88a64f
commit 5343567e33
6 changed files with 21 additions and 10 deletions

View File

@@ -15,6 +15,9 @@
$(this).find("option:first").attr("selected",true);
});
$(".Wdate").attr("value",'');
$(':input','#searchForm')
.not(':button,:submit,:reset,:hidden')
.attr("value",'');
$("#searchForm")[0].reset();
});
//筛选功能

View File

@@ -15,6 +15,9 @@
$(this).find("option:first").attr("selected",true);
});
$(".Wdate").attr("value",'');
$(':input','#searchForm')
.not(':button,:submit,:reset,:hidden')
.attr("value",'');
$("#searchForm")[0].reset();
});
//筛选功能

View File

@@ -15,6 +15,9 @@
$(this).find("option:first").attr("selected",true);
});
$(".Wdate").attr("value",'');
$(':input','#searchForm')
.not(':button,:submit,:reset,:hidden')
.attr("value",'');
$("#searchForm")[0].reset();
});
//筛选功能