下面的code是個例子
就是當我選擇1-5的option 後
最下面個方格會增加1-5的選項
但當選擇0時,自動移除所有選項
非常感謝大家的幫忙
<select name="qtyColombian" id="qtyColombian" onchange="updateOrder();">
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br>
<select name="qtyHawaiian" id="qtyHawaiian" onchange="updateOrder();">
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select> <br>
<select name="qtyKenya" id="qtyKenya" onchange="updateOrder();">
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select> <br>
<select name="qtyJamaica" id="qtyJamaica" onchange="updateOrder();">
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select> <br>
<select name="orderProduct" size="4" id="orderProduct">
<option>Your product here</option>