0
Turns out it wasn't that difficult. Here's what I modified:
And refer the following Link : http://jsfiddle.net/RgTgM/1/
- $("#search").on("keyup", function() {
- var value = $(this).val();
- $("table tr").each(function(index) {
- if (index !== 0) {
- $row = $(this);
-
- $row.find('td').each (function() {
- var id = $(this).text();
- if (id.indexOf(value) !== 0) {
- $row.hide();
- }
- else {
- $row.show();
- return false;
- }
- });
-
- }
- });
- });