Welcome Guest, Not a member yet? Register   Sign In
[JQUERY][BOOTSTRAP] jquery UI autocomplete
#1

CI 3.1.0
PHP  5.6.24 (cli)

Hi, I'm using jquery's autocomplete, but getting a request showing up as:

http://<domain>.com/events/getorganizers?term=theterm

That is pretty close, but in order for the param to get to the 'getorganizers' method, I'm thinking it should be:
http://<domain>.com/events/getorganizers&term=theterm

or rather better:
http://<domain>.com/events/getorganizers/theterm

thoughts?

Thanks,
Donovan
Reply
#2

Option 1 - ok;
Option 2 - wrong URL format;
Option 3 - avoid it, because generally it limits allowed characters/signs that 'theterm' can contain.
Reply
#3

Thanks Ivan. I've got it somewhat working, but will spare the list with my other (javascript) questions. :-)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB