Applejus wrote:> Hi there,
>
> I have a login form and would like to know if there''s a way to
let the
> user
> press enter to submit the login information as an alternative to
> clicking
> the login button.
>
This is really a JavaScript question...
http://www.htmlcodetutorial.com/forms/index_famsupp_157.html
Or more results from google:
http://www.google.com/search?hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=3KH&q=javascript+submit+form+on+enter&btnG=Search
HTH,
Michael Guterl
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---