I have a form full of select boxes. What is the *best* way to take a
querystring of previously submitted form values, and re-select the
previously selected values.  I know how to use Prototype to get a hash
of values: location.search.toQueryParams(); and I know how to write a
function that takes the id of the select box, the previously selected
value, and does what it needs to do.  However, it seems to me that
there must be something already out there.  What's the elegant way to
do this?

Thanks for any recommendations!
Mark


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to