Hi, I see you're using an absolute URL with the autocompleter, rather than a relative one. Usually that's a red flag -- maybe you're running into SOP[1] issues?
[1] http://en.wikipedia.org/wiki/Same_origin_policy HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On May 7, 6:10 pm, Neo <programmer...@gmail.com> wrote: > I am trying to use Ajax.Autocompleter with a ColdFusion CFC as a > webservice. > The problem is the Ajax call is not firing. Any ideas why ??? > > var searchAutocompleter = new Ajax.Autocompleter("autocomplete", > "SuggestionListDiv", "http://local.ws.mysite.com/cf/myfile_lite.cfc? > method=lookAheadSearch", { > > paramName: "lookaheadSearchTerms", > > minChars: 2, > > parameters: > "enePort=9000&sid=1201047B9E5A&eneHost=192.168.76.47&N=0&maxResults=5&wildcard=true", > > > onSuccess: function(r){ > > if (r.unescapeHTML != undefined) { > > $('err').innerHTML=r.unescapeHTML; //in case > there is an > error display it > > } > > } > }); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---