I have this tag:<br><br><%=submit_to_remote 'Save', "Save",<br>                    :update => "posts",<br>                    :url => { :controller => "questions",<br>                              :action => 'save_remote',<br>
                              :id => <a href="http://question.id">question.id</a>,<br>                              :answer => CGI::escape('$(answer_area).getValue();') } %><br><br>I would like to send a value taken from a text area using JavaScript. The problem is that the function use my JS as a string. do you now a way to send some text using submit_to_remote? In the same page I have other submit button, but this one shound just update the text without redirecting/reloading the page. <br clear="all">
<br>-- <br>Riccardo Tacconi<br>Web developer at Wolseley UK <br>VIRTUELOGIC LIMITED (Director)<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>