Hi,

I have an ajax auto completer for a text field in a form. All's good.

Unfortunately, I also want the form to be submitted when the user hits
'return' in the text field.

This combination of circumstances means that if the user is typing his
entry and then hits return to submit it is possible that dang auto
completer will pop up and complete his entry for even if he doesn't
want it completed.

How can I make the auto completer automatically show, but not have any
element selected (and therefore do no autocompletion) until the user
presses the down key or clicks on an item?

This is like the completion in the URL bar of your web browser.

Thanks,
Scott
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to