Tell me more ×  how can i use a single jquery autocomplete for
multiple form dropdown?  here is my view page(header):
source: "<?php echo site_url('autocomplete/get_names');?>"
source: "<?php echo site_url('autocomplete/get_dept');?>"  ***
and other like these for subjects, zip and country.   controller
page:  public function get_names(){     if
(isset($_GET['term'])){     $q = strtolower($_GET['term']); ***
and other functions...   model page:  function get_fullnames($q)
$match = $q; $this->db->like('full_name', $match,'after');
$query = $this->db->get('employee_list');
if($query->num_rows > 0){         $row_set[] =
htmlentities(stripslashes($row['full_name']));          echo
json_encode($row_set);    how can i implement a single search
term that could be used for multiple criteria? thank you guys in
advance..  share|improve this question add comment  1 Answer  up
vote 0 down vote accepted  This is not going to scale; as your
database tables grow, this implementation will become very
sluggish. W