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>