grey out dropdown box on selecting only one of the radio button
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/9353937/grey-out-dropdown-box-on-selecting-only-one-of-the-radio-button">grey out dropdown box on selecting only one of the radio button</a>  </p>
</blockquote>



<p>I am new to javascripts, I am trying to modify codes on a form that includes radio button and dropdown menus, but I would like to grey out dropdown box on selecting only one of the radio button (electronic) selected.</p>

<p>Physical (radio button) 
Image (radio button)<br>
Electronic (radio button)</p>

<p>Number of Boxes       [dropdown box]<br>
I have 3 radio buttons above number of boxes (dropdown).  I want the dropdown selection box grayed out on selecting Electronic (radio button)</p>

<pre><code>&lt;select name="StorageType"&gt;
                        &lt;option value=""&gt;--Select One--&lt;/option&gt;
                        &lt;option value="Physical Storage" &lt;%if lcase(request.form("StorageType")) = lcase("Physical Storage") then response.write("selected") end if%&gt;&gt;Physical Storage&lt;/option&gt;
                        &lt;option value="Image and Shred" &lt;%if lcase(request.form("StorageType")) = lcase("Image and Shred") then response.write("selected") end if%&gt;&gt;Image and Shred&lt;/option&gt;
                        &lt;option value="Electronic Storage" &lt;%if lcase(request.form("StorageType")) = lcase("Electronic Storage") then response.write("selected") end if%&gt;&gt;Electronic Storage&lt;/option&gt;
                    &lt;/select&gt;
&lt;select name="NumberofBoxes" onchange="javascript:this.form.action='RecordsTransmittalForm.asp';this.form.submit();"&gt;
                        &lt;option value=""&gt;--select one--&lt;/option&gt;
                        &lt;%
                            for i = 1 to 100
                        %&gt;
                            &lt;%if clng(NumberofBoxes) = i then%&gt;
                                &lt;option value="&lt;%=i%&gt;" selected&gt;&lt;%=i%&gt;&lt;/option&gt;
                            &lt;%else%&gt;
                                &lt;option value="&lt;%=i%&gt;"&gt;&lt;%=i%&gt;&lt;/option&gt;
                            &lt;%end if%&gt;
                        &lt;%
                            next
                        %&gt;
                    &lt;/select&gt;
</code></pre>
