asp.net - Generic handler (ashx) not rising with jquery autocomplete plugin -


my generic handler not being called when using autocomplete,

i have in .aspx page.

 $(document).ready(function () {      $("#test").autocomplete("handlers/myhandler.ashx");  } 

with files included jquery-1.4.2.min.js , jquery-ui-1.8.custom.min.js

i put breakpoint on server never reached, used firebug see if jquery making request , nothing, bug plugin?

you not initializing jquery ui autocomplete properly, pass object source property:

$(document).ready(function () {      $("#test").autocomplete({source: "handlers/myhandler.ashx"});  } 

passing string directly used access 1 of methods, example:

$("#test").autocomplete("enable"); 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -