• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.