c# - How to make autocomplete posting data to the server with first char only and filter the returned result with jquery -


To get the first four in the textbox and to return all the matching names, whatever auto full jquery plug- These are needed to create a server for example, then after writing the rest of the characters, I can filter the returned result from jquery, posting characters on the server and returning results.

I am using a plug-in such as:

  $ (function () {$ ("#autocomplete"). Autocomplete ({source: function (Request, response) {$ .ajax ({url: "vendor / auto complete /", type: "post", data type: "jason", data: {search text: request.term, column name} column} Success: Function (data) {Vendor = data; response ($ .max (data, function (item) {return {label: i tem, value: item, id: item}}))}}})}}); });  


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -