![]() |
Codeigniter + JQuery 1.4.2 + autocomplete - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Codeigniter + JQuery 1.4.2 + autocomplete (/showthread.php?tid=34016) Pages:
1
2
|
Codeigniter + JQuery 1.4.2 + autocomplete - El Forum - 12-07-2010 [eluser]Blinkiz[/eluser] Thanks Kyle for the easy guide to implement autocomplete. Am having a problem. When I for example search for "Kyle", my browser tries to send this to Code: http://localhost/views/search/search_person_name/kyle?term=kyle Code: http://localhost/views/search/search_person_name/kyle Codeigniter + JQuery 1.4.2 + autocomplete - El Forum - 12-07-2010 [eluser]Kyle Ellman[/eluser] I'm actually not sure. I think that if you keep get disabled, CI ignores it. I could be wrong about that, though. Mine works without trying to change it. Sorry I can't be of any further help. Codeigniter + JQuery 1.4.2 + autocomplete - El Forum - 12-08-2010 [eluser]Blinkiz[/eluser] Solution to my problem is to change Code: $config['uri_protocol'] = "AUTO"; Code: $config['uri_protocol'] = "PATH_INFO"; Code: http://localhost/views/search/search_person_name/kyle?term=kyle Codeigniter + JQuery 1.4.2 + autocomplete - El Forum - 12-08-2010 [eluser]Blinkiz[/eluser] I just wanted to share a working code that am using. Don't forget to include the css file for the jquery ui in your header. View [removed] is the script tags for loading "data/jquery-1.4.3.min.js" and "data/jquery-ui-1.8.6.custom.min.js". Much html code is removed to make it easier to read. Code: <div class="moduletable"> Code: function search_person_name() Code: function search_person_name($search) |