# Display 2nd selectbox

**URL:** <https://www.ruby-forum.com/t/display-2nd-selectbox/181145>\
**Category:** Rails\
**Created:** [January 6, 2010, 10:18am UTC](https://www.ruby-forum.com/t/display-2nd-selectbox/181145 "2010-01-06T10:18:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nandu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f0a364/32.png) [@Nandu](https://www.ruby-forum.com/u/Nandu)\
**Post date:** [January 6, 2010, 10:18am UTC](https://www.ruby-forum.com/t/display-2nd-selectbox/181145/1 "2010-01-06T10:18:41Z")

</div>

I am very new to scripting and appreciate any help from you gurus…  
I have two selectboxes, (2nd select box should not be visisble)after  
selecting an option in one selectbox the other selectbox should be  
displayed.  
I know how to do this is javascript, but not in ruby on rails because  
I am not able to pick the proerties like style and nam for the select  
box  
Thank you
