0
jQuery(document).ready(function($){
  $("input.on-page-search").on("keyup", function() {
    var value = $(this).val().toLowerCase();
    $(".post_search article").filter(function() {
      $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
    });
  });
});

<input class="on-page-search" type="text" placeholder="Search Quick Scoops blog" />

Jagdish Sarma Asked question May 14, 2021
Add a Comment