Displaying 1 result from an estimated 1 matches for "hide_textarea".
2006 Apr 12
1
link_to_remote with form values?
...t:
<%= text_area ''course'', ''topics'', :rows => 6, :cols => 60 %>
and later a link_to_remote:
<%= link_to_remote("Hide",
{ :update => ''my div'',
:url => {:action => ''hide_textarea'', :div =>
''my_div,
:course => @course } ) %>
and I want to add the contents of the course_topics textarea as a field
in my :url hash.
Getting the form value with javascript should be possible, but how do I
embed that into the ruby code?
Thanks!...