问题
jQuery UI Autcomplete:
How can I POST the term to the search script instead of GET?
回答1:
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.
回答2:
You need to specify callback function for the source parameter. Here is an example: http://jqueryui.com/demos/autocomplete/#remote-jsonp
来源:https://stackoverflow.com/questions/2609047/jquery-ui-autcomplete-post-instead-of-get