jQuery UI Autcomplete: POST instead of GET
-
25-09-2019 - |
Question
jQuery UI Autcomplete:
How can I POST the term to the search script instead of GET?
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