I have a table wherein I want to search only the 1st column w.r.t only machine code and if the search matches then it should display the complete row. Any idea where I am going wrong? Here is the example wherein I have tried but failed: https://jsfiddle.net/xc54qnru/
Tried this script, but was partially successful.
$(document).ready(function() {
$("#myInput").on("keyup", function() {
var value = $(this).val().toLowerCase();
$("#myTable tr").filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
});
});```