[Ajaxtags-user] AutoComplete Tag error
Brought to you by:
jenskapitza,
victor-homyakov
From: Vivek M. <viv...@gm...> - 2006-02-20 19:58:27
|
Hey, I am trying to use the Autocomplete in my jsp page, but everytime I load the page I am getting these errors 1. Autocompleter is not defined and its pointing to this line in the javascript file Object.extend(Object.extend(Ajax.XmlToHtmlAutocompleter.prototype, Autocompleter.Base.prototype), { initialize: function(element, update, url, options) { =09 this.baseInitialize(element, update, options); this.options.asynchronous =3D true; this.options.onComplete =3D this.onComplete.bind(this); this.options.defaultParams =3D this.options.parameters || null; this.url =3D url; }, 2. AjaxJspTag.Autocomplete is not a constructor and its pointing to this line in the jsp file <script type=3D"text/javascript"> new AjaxJspTag.Autocomplete( "/autocomplete", { indicator: "indicator", minimumCharacters: "1", parser: new ResponseXmlToHtmlListParser(), target: "make", className: "autocomplete", source: "model" }); </script> I have included all the required javascript files. Is there somthing I am missing? Thanks in advance, Vivek |