You only filter one column, this can help you.
$("#searchone , #searchtwo ,#searchthree ,#searchfour").bind("keyup", function() { var map = { '.productid': $("#searchone").val().toLowerCase(), '.product': $("#searchtwo").val().toLowerCase(), '.quantity': $("#searchthree").val().toLowerCase(), '.amount': $("#searchfour").val().toLowerCase() }; $('div.new').each(function() { $(this).hide(); }); $('div.new').each(function() { var parent_div = this; $.each(map, function(key, value) { $(parent_div).find(key).filter(function() { if ($(this).text().toLowerCase().indexOf(value.toString()) != -1 && value != '') { $(parent_div).show(); } }); }); }); });
source share