Hello everyone!
I would like to clear my textarea when the user click on the "Submit" button. Ths thing is I'm using a submit_to_remote button. I heard that's impossible to add an option onclick to clear my textarea.
<%= submit_to_remote 'comment', 'Submit', ajax_options(:url => { :controller => '/ticket_comments', :action => :create }, :update => {:success => "comment_list"}, :validation => true) %>
Do you have an idea?
Thank you!