Welcome Guest, Not a member yet? Register   Sign In
Autocompletion frustrations
#3

[eluser]nlweb[/eluser]
[quote author="Aken" date="1345088761"]Ajax data request should be an object - you're just passing the value. I'd be surprised if $this->input->post('term') had anything in it at all.

You want something like this:

Code:
data: { term: term },
[/quote]

Why would i need to pass an object? never had to do that before with autocompletes, setting the variable and pulling the val() has always worked, why would codeigniter break that?


Messages In This Thread
Autocompletion frustrations - by El Forum - 08-15-2012, 08:33 PM
Autocompletion frustrations - by El Forum - 08-15-2012, 08:46 PM
Autocompletion frustrations - by El Forum - 08-15-2012, 08:58 PM
Autocompletion frustrations - by El Forum - 08-15-2012, 09:11 PM
Autocompletion frustrations - by El Forum - 08-15-2012, 09:17 PM
Autocompletion frustrations - by El Forum - 08-15-2012, 09:59 PM
Autocompletion frustrations - by El Forum - 08-15-2012, 10:10 PM
Autocompletion frustrations - by El Forum - 08-16-2012, 08:34 AM
Autocompletion frustrations - by El Forum - 08-16-2012, 02:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB