Hi there,

Have a quick question  - what is the most simple way to go about
"hiding" (or setting css display property to "none") a specific select
dropdown option by value?

For instance, say I have this:

<select id='mySelect'>
<option value='1'>One</option>
<option value='2'>Two</option>

With the Prototype library, how can I modify the code below to "hide"
option "Two" when option "One" is selected?

document.observe("dom:loaded", function () {
                var test = $('mySelect').getValue("1");

Thanks in advance!

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to