Answers for "jquery search in jquery"

4

search functionality in jquery

<input id="search-date1" class="pull-right" value="" placeholder="Search Material" type="text"/>
  $('#search-date1').keyup(function(){
  var value = this.value.toLowerCase();
  $('.modal_iterator_row').each(function(){
    var id = $(this).text().toLowerCase();
    $(this).toggle(id.indexOf(value) !== -1);
  })
});
Posted by: Guest on April-12-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language