Forum: Ruby on Rails Retain content of a form text when jump to another page

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A0bae8a464f7bdae361c4a07e4f84cd8?d=identicon&s=25 hnchuong@gmail.com (Guest)
on 2007-03-27 05:24
(Received via mailing list)
Dear all,

I have a list (with pagination) and a form below it which contain a
text area with a submit button. When the user enter text into the text
area and navigate to another page (of pagination) without submit the
form, I want to retain the content of the text area so that the
content would be there in the new page. What should I do to get this
functionality? I guess I should attach a javascript into the
navigation link to get the content of the text are to put into params
or something, but I don't know how to do.

Thanks a lot,
- Chuong
This topic is locked and can not be replied to.