1 <script type="text/javascript">
2 $(function(){
3 $('#ss').click(function(){
4 var sstxt=$('#filtertxt').val();
5 $("table tbody tr").hide().filter(":contains('"+sstxt+"')").show();
9 })
11 })
12 </script>
1 <script type="text/javascript">
2 $(function(){
3 $('#ss').click(function(){
4 var sstxt=$('#filtertxt').val();
5 $("table tbody tr").hide().filter(":contains('"+sstxt+"')").show();
9 })
11 })
12 </script>
转载于:https://www.cnblogs.com/eyesmoon/p/9814701.html