The jquery search filters is used to search a record from list of records. We can take a textbox in which we will enter our keyword to find out.
EX:
<script>
$(document).ready(function(){
$(“#txtSearch”).on(“keyup”, function() {
var value = $(this).val().toLowerCase();
$(“#tbTable tr”).filter(function() {
$(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
});
});
});
</script>
Description:
Using this script code we can search a record when we enter keyword in textbox. It will filter the table and gives us result.
OP: