Clear text field with a button

Nahuel Garbezza
2011-03-28T13:04:08Z

Hi all,

I want to clear a text field by pressing a button, I get it work using
Javascript but I want to know if there''s a Rails way to do it.

Thanks,
Nahuel.

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at