...

View Full Version : Help Disabling Drop Down Menu Based on Another Drop Down Menu Choice



RedwingST10
08-01-2012, 07:47 PM
I have a multiple drop down menus that will result in updating an online calculator. My problem is I need to grey out a drop down menu based on the selection of a drop down above. I have three PAPER TYPES: I need when 14PT UNCOATED is selected, that both COATING FRONT AND COATING BACK be greyed out.

This is the Code where my options are:

<th>
<select onchange="calculate_final_price()" onfocus="window.dropdown_menu_hack(this)" name="order_items.printing_25:records">
<option value="8317">10pt Cover Gloss 2 Sides</option>
<option value="8318">12pt Cover Gloss 2 Sides</option>
<option value="8319">14pt Uncoated</option>
</select>
</th>


<td>
Paper type
</td>

<!-- Finishing options -->

<h3>Finishing Options</h3>
<table cellspacing="0">
<th>
<select onchange="calculate_final_price()" onfocus="window.dropdown_menu_hack(this)" name="order_items.finishing_153:records">
<option value="8334">None</option>
<script>finishing[8334] = new Object();finishing[8334].price=0.00;finishing[8334].setup_fee=0.00;</script>
<option value="8320">Aqueous</option>
<script>finishing[8320] = new Object();finishing[8320].price=0.00;finishing[8320].setup_fee=0.00;</script>
<option value="8321">UV</option>
<script>finishing[8321] = new Object();finishing[8321].price=0.00;finishing[8321].setup_fee=0.00;</script>
</select>
</th>

<td>
Coating Front
</td>
</tr>

<th>
<select onchange="calculate_final_price()" onfocus="window.dropdown_menu_hack(this)" name="order_items.finishing_154:records">
<option value="8333">None</option>
<script>finishing[8333] = new Object();finishing[8333].price=0.00;finishing[8333].setup_fee=0.00;</script>
<option value="8322">Aqueous</option>
<script>finishing[8322] = new Object();finishing[8322].price=0.00;finishing[8322].setup_fee=0.00;</script>
<option value="8323">UV</option>
<script>finishing[8323] = new Object();finishing[8323].price=0.00;finishing[8323].setup_fee=0.00;</script>
</select>
</th>


<td>
Coating Back
</td>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum