YES!
I've solved the issue!
Before call Ajax.Autocompleter I run this:
new Insertion.Before('update', '<input type="text" id="id_search"
name="search" autocomplete="off" value="" />');

And everything works fine!

Thanks to push me to think, sometimes talking about the problem you can
think in it in another way.

NB.

2009/4/30 Nahuel Bulian <nbul...@gmail.com>

> Hi Sharon!
> Well... I did a test, Ajax.Autocompleter works fine if is executed in the
> main page... my problem appears when I load a new page inside a div (ajax
> call) with the Ajax.Autocompleter... the "ul" list is showed below the input
> field, but when I click one of the options, nothing happen and this massege
> is showed for the Firebug:
>
> Thank!
> NB
>
> 2009/4/29 G. Sharon Yang <okghy...@gmail.com>
>
>
>> Are you sure you defined corresponding id for both textfield and the
>> div, as in 'new Ajax.Autocompleter(id_of_text_field,
>> id_of_div_to_populate, url, options)'?
>>
>> On Tue, Apr 28, 2009 at 8:33 PM, Nahuel Bulian <nbul...@gmail.com> wrote:
>> > Hi there.
>> > I'm trying to use the Script.aculo.us Ajax.Autocompleter, I can see the
>> list
>> > returned by mi php script, but when I click one of the result nothing
>> > happen... and the Firebug show me this:
>> >
>> > $(element) is undefined
>> > [Break on this error] return $A($(element).childNodes).collect(
>> > function(node) {
>> >
>> > Anybody know what could be happen?
>> >
>> > Thank Nonox from Argentian!
>> >
>> > --
>> > Saludos
>> > NB.
>> > MSN: nbul...@gmail.com
>> > GTalk: nbul...@gmail.com
>> >
>> > Antes de imprimir, pensá en el medio ambiente.
>> > Before printing, think about the environment.
>> > Avant d'imprimer, pensez à l'environnement.
>> >
>> > >
>> >
>>
>> >>
>>
>
>
> --
> Saludos
> NB.
> MSN: nbul...@gmail.com
> GTalk: nbul...@gmail.com
>
> Antes de imprimir, pensá en el medio ambiente.
> Before printing, think about the environment.
> Avant d'imprimer, pensez à l'environnement.
>



-- 
Saludos
NB.
MSN: nbul...@gmail.com
GTalk: nbul...@gmail.com

Antes de imprimir, pensá en el medio ambiente.
Before printing, think about the environment.
Avant d'imprimer, pensez à l'environnement.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to