Hi all,
It must be simple stuff. I am trying to put an input text area
- that submits when a user presses Enter without a submit button and
- resets itself for a new input after Enter.
<% form_remote_tag (:url => {:action => ''my_action''},
:update =>
"area") do %>
<%= text_area_tag ''my_input'', " ", :rows =>2,
:columns => 12,
:onclick => "$(my_input).reset()" %>
<% end %>
What am I doing wrong?
Thanks.
Sy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---