![]() |
Autocomplete Search in CodeIgniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Autocomplete Search in CodeIgniter (/showthread.php?tid=69895) |
Autocomplete Search in CodeIgniter - sabimofler - 01-28-2018 Hello everyone, I'm working on a blog project (inspired from traversy media youtube channel) but I want too add more functionality to it. At the moment you can search for any item but I am trying to make the idea of 'autocomplete search' to work. I have coded the server request from js file, but I don't have a clear idea how can I connect that idea with the following code. Can someone help me, please? Code: <!-- JavaScript File --> PHP Code: <!-- CONTROLLER --> PHP Code: <!-- MODEL --> Code: <!-- VIEW --> RE: Autocomplete Search in CodeIgniter - wishmaster - 01-28-2018 What about jquery plugin with complete functionality? RE: Autocomplete Search in CodeIgniter - emmanuel - 01-28-2018 You might just need an onclick event listener to monitor when user click on the suggestions? |