Clear a textarea when I click on "Submit"


#1

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!