javascript - additional params in Jquery autocomplete -
I'm using.
I am trying to send additional parameters in the Ajax option by using
issue : This AJAX does not send the correct input value on request. Instead it sends the initial state value of the form input except for autocomplete input.
I have tried the second thing
) {$ ('# Doctor'). Autocomplete (). SetOptions ({params: $ ("form"). Serialize ()}); } Manual onSearchStart: function (query) {}
is called before the AJAX request. It is bound to the input element.
The parameters 'parameters' should be an object:
On-site Start: Function (query) {$ ('# Doctor'). Autocomplete () Set option ({params: {parameterA: $ ("form"). Serialize ()}}); }
Comments
Post a Comment