Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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();
});
 
PREVIOUS NEXT
Tagged: #keyup #jquery #search #php
ADD COMMENT
Topic
Name
5+2 =