Hi guys, hoping someone can give me a pointer with this?

I have a Javascript variable that I'm updating dynamically as a user
interacts with the page. I want the user to be able to save it's value
at any time along with some text data in a pop-up form, so the best way
I can think of is to pass it through the params hash without writing it
into the form. I'm not totally sure how to do this though?

The only practical solution i've got is for a hidden field line in the
form to be dynamically generated when the user goes to save it, but this
feels like overkill to me. Does anyone have any suggestions for a neater
way to do it?

Thanks,

Jon
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to