Answers for "on keyup jquery for search php"

PHP
0

on keyup jquery for search php

// javascript / jquery
function searchClients() {
   var clientSearch = document.getElementById("clientSearch");
   var s = clientSearch.value;
   $('.select-options span').show();
   $('.select-options span:not(:contains("'+s+'"))').hide();
 }

$("#clientSearch").keyup(function() {
  searchClients();
});
Posted by: Guest on August-21-2021

Browse Popular Code Answers by Language