hi all,

I have 3 divs (with id) and according to a selection made in a
selection box I want to show the corresponding div and hide the 2
other divs

eg:

selectionbox
- car
- bike
- motor

<div id="car"></div>
<div id="bike"></div>
<div id="motor"></div>

So when car is selected div car should bes hown and the other 2 should
be hidden.

How can this best be done?

Thanks
Stijn


--~--~---------~--~----~------------~-------~--~----~
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