If you use the drop down for 'title', and select Vice President, then in
the rest of the drop downs, the only options will be related to those
who are VPs. I hope this makes sense. I just got the collection_select
to populate on my view, but I don't know where to go from here or how to
pass that value back to a controller function.
I've read several blog posts and books, but they don't' seem to be
addressing exactly what I'm doing. THANKS!
--
Posted via http://www.ruby-forum.com/.
Damn,
I was hoping I wouldn't have to do that. I know there is some AJAX that
is included with ROR, anyway to envoke that her? How about an easier
one - once I have selected my value in a collection_select, what do I do
next - how do I pass that selected value back into a controller for
another page - with the results based on that one dropdown box?
Don't. Learn to write JavaScript properly before you try to have Rails
automate it.
(Hint: *proper* JavaScript is not mixed in with HTML.)
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org