Hi,
I have been using Ajaxautocomplete control.js. I am facing problem in
this piece of code.
this.observer = null;
this.element.setAttribute('autocomplete','off');
Element.hide(this.update);
Event.observe(this.element, 'blur',
this.onBlur.bindAsEventListener(this));
Event.observe(this.element, 'keypress',
this.onKeyPress.bindAsEventListener(this));
I am using Firefox version2. It is not trigging the autocomplete data
and it is giving javascript error at Element.hide(this.update). I am
using firebug for javascript debugging.
Please help.
Thanks in advance
Ashwini
on 07.07.2008 15:24
on 07.07.2008 15:43
Sorry, but there's absolutely no sense of context here. This is a Firebug dump of scriptaculous libraries, without your own HTML or JS code. Can you please provide the code you're using to make this work? -Fred On Mon, Jul 7, 2008 at 8:23 AM, ashwini <ashwinisj@gmail.com> wrote: > > Hi, > I have been using Ajaxautocomplete control.js. I am facing problem in > this piece of code. -- Science answers questions; philosophy questions answers.
on 07.07.2008 15:49
Hi, Indeed, more detailed info would be helpful. FYI: We're moving from this group to the new Prototype & script.aculo.us group: http://groups.google.com/group/prototype-scriptaculous prototype-scriptaculous@googlegroups.com Although people are still answering here (for now), it's best to start new threads over there instead. We plan to stop replying to new threads in this group 'round about 15th of July. -- T.J. Crowder tj / crowder software / com
on 08.07.2008 13:25
This sort of problem usually occurs in my experience when you have called 'new Ajax.Autocomplete' on a DOM object that doesn't (yet) exist. Make sure that you have already added the 'update' element to the DOM before calling the autocompleter.