Welcome Guest, Not a member yet? Register   Sign In
can't get autocomplete value
#6

[eluser]TheFuzzy0ne[/eluser]
If you're using GET, you may run into problems with characters that aren't allowed in the URL, so I'd recommend using POST instead.

Also, it would keep your controller cleaner if you had your model return the JSON encoded string, or even output it directly.

I agree. Your model/controller should only be echoing a JSON array of strings only, not IDs.


Messages In This Thread
can't get autocomplete value - by El Forum - 03-30-2013, 01:19 PM
can't get autocomplete value - by El Forum - 03-31-2013, 01:49 AM
can't get autocomplete value - by El Forum - 03-31-2013, 02:10 AM
can't get autocomplete value - by El Forum - 03-31-2013, 04:32 AM
can't get autocomplete value - by El Forum - 03-31-2013, 05:58 AM
can't get autocomplete value - by El Forum - 03-31-2013, 06:10 AM
can't get autocomplete value - by El Forum - 04-03-2013, 03:35 AM
can't get autocomplete value - by El Forum - 04-03-2013, 04:55 AM
can't get autocomplete value - by El Forum - 04-03-2013, 11:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB