Forum: Ruby on Rails Clear a textarea when I click on "Submit"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Guillaume L. (Guest)
on 2009-02-23 20:27
Hello everyone!

My page reloads itself as soon as I click on "Submit". My question is :
how can I clear the content which is in my textarea?

I'm using the method submit_to_remote for my submit button.

Thank you!
This topic is locked and can not be replied to.