On Sep 11, 2:12 pm, jmmg77 <[EMAIL PROTECTED]> wrote:
> Maybe I'm missing something, but it seems like the autocompleter code
> gets the elements default value when the page loads, but it doesn't
> reflect any changes made to that element.  This is where I'm having
> trouble.  Is there an onchange event that can force Autocompleter to
> pass the new value?  Thanks for your help.
>
Sorry, you're quite right, and I remember hitting this problem
myself.

The 'callback' argument to Ajax.Autocompleter is designed for just
this case.

Something like (not tested):

new Ajax.Autocomplete(
 ...
{
 callback: function(qstr) {return qstr + '&filter='+$F('filter');}
...
}

> > Colin
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to