Welcome Guest, Not a member yet? Register   Sign In
Jquery CodeIgniter 2.X
#2

Autocomplete is an ajax request so your contoller needs to echo results. Also you are using it wrongly as you need to define the serviceUrl: which returns the option data or provide the option data manually.

Have a look here:
https://www.devbridge.com/sourcery/compo...ocomplete/

Or the API docs
http://jqueryui.com/autocomplete/

Hope that helps,

Paul.
Reply


Messages In This Thread
Jquery CodeIgniter 2.X - by hubert10 - 01-20-2016, 03:58 AM
RE: Jquery CodeIgniter 2.X - by PaulD - 01-22-2016, 04:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB