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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and 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.