需要使用javascript從select
元素中檢索所選項目。你如何使用javascript從組合框中獲取所選項目
<select id="selected">
<option value="Default Request" selected disabled>Default Request Service</option>
<option value="1">Anti-Virus Support and Services</option>
<option value="2">CSB - Request and Report Forms</option>
<option value="3">Email Support and Services</option>
<option value="4">Hardware Support and Services</option>
</select>
<input id="selected_display" type="text" value="" name="subject">
我忘了提即時通訊使用jQuery,但你可以看到它在代碼:) – Franky238