Forum: Rails Spinoffs (closed, excessive spam) Problem with element.hide

F0aa1dc71ea99c35d0dc6ae675a42c9f?d=identicon&s=25 ashwini (Guest)
on 2008-07-07 15:24
(Received via mailing list)
I have been using Ajaxautocomplete control.js. I am facing problem in
this piece of code. = null;



    Event.observe(this.element, 'blur',
    Event.observe(this.element, 'keypress',

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
F490e41cd5de1393a9f6958b70dae6ab?d=identicon&s=25 Frederick Polgardy (Guest)
on 2008-07-07 15:43
(Received via mailing list)
Sorry, but there's absolutely no sense of context here.  This is a
dump of scriptaculous libraries, without your own HTML or JS code.  Can
please provide the code you're using to make this work?


On Mon, Jul 7, 2008 at 8:23 AM, ashwini <> wrote:

> Hi,
> I have been using Ajaxautocomplete control.js. I am facing problem in
> this piece of code.

Science answers questions; philosophy questions answers.
Ca3e484c121268e4c8302616b2395eb9?d=identicon&s=25 T.J. Crowder (Guest)
on 2008-07-07 15:49
(Received via mailing list)

Indeed, more detailed info would be helpful.

FYI:  We're moving from this group to the new Prototype & group:

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
0c18b91df2be866982c3c43773071b8c?d=identicon&s=25 ColinFine (Guest)
on 2008-07-08 13:25
(Received via mailing list)
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.
This topic is locked and can not be replied to.