| ID | Name | Class |
|---|---|---|
| 1 | Student 1 | 10 |
| 2 | Student 2 | 8 |
| 3 | Student 3 | 9 |
| 4 | Student 4 | 11 |
| 5 | Student 5 | 9 |
| 6 | Student 6 | 9 |
| 7 | Student 7 | 8 |
| 8 | Student 8 | 8 |
$(function(){
$("#search").on("keyup", function() {
var value = $(this).val().toLowerCase();
$("#table tr").filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1);
});
});
});