Question

jQuery UI Autcomplete:

How can I POST the term to the search script instead of GET?

Was it helpful?

Solution

You'll need to supply a function as the source for the plugin and have your function do the AJAX post to the server to get the matching data.

OTHER TIPS

You need to specify callback function for the source parameter. Here is an example: http://jqueryui.com/demos/autocomplete/#remote-jsonp

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top