On May 18, 9:19 pm, Scott Z <kol...@gmail.com> wrote:
> Can anyone point me in the right direction to making my form submit
> when a selection is made from the autocomplete suggestions? Thanks!

new Ajax.Autocompleter( ...

  onComplete: function() {form.submit()},
...
);

Where I've written 'form' you need a way of identifying the 'form'
object, eg $('form-id') or $('autocomplete').up('form') etc.

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