On Thursday 29 June 2006 01:06, Scott Fortmann-Roe wrote: > 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.
I had this issue myself, and unfortunately couldn't find an exact solution to it. I was able to make the autocompleter come up without a selection, but if the mouse pointer was hovering over where the autocompleter box was supposed to be, it triggered the mouseover event and selected the item. If anyone has a solution for that, I'd love to hear it :)) -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] http://www.pirate-party.us/ -- defend your rights
pgpecKRhKaAau.pgp
Description: PGP signature
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
