Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("input#search").keyup(function(){
- _this = this;
- $.each($(".replace_tbl tbody tr td.name"), function() {
- if($(this).text().toLowerCase().indexOf($(_this).val().toLowerCase()) === -1) {
- $(this).closest('tr').hide();
- // $(this).hide();
- } else {
- $(this).closest('tr').show();
- // $(this).show();
- };
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement