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

[eluser]Aken[/eluser]
The data you send through an $.ajax() request needs to be a query string, or a Javascript array or object. Look it up yourself. All you're doing is passing a standard string - the value of your tags field. Therefore, you are not creating a POST request for "term", and it won't exist when it gets to your lookup() controller.


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