<td><spring:message code="mytax.taxtype.sslx" />:</td>
<td>
<c:if test="${op=='update' }">
<select class="easyui-combobox" id="taxName" name="taxName" style="width:200px;">
<option value="">Please select</option>
<option value="VAT" <c:if test='${taxType.taxName =="VAT"}'>selected="selected"</c:if> >VAT</option>
<option value="Turnover Tax" <c:if test='${taxType.taxName =="Turnover Tax"}'>selected="selected"</c:if>>Turnover Tax</option>
<option value="Excise Tax" <c:if test='${taxType.taxName =="Excise Tax"}'>selected="selected"</c:if> >Excise Tax</option>
<option value="VAT Withholding tax" <c:if test='${taxType.taxName =="VAT Withholding tax"}'>selected="selected"</c:if>>VAT Withholding tax</option>
</select>
</c:if>
<c:if test="${op=='add' }">
<select class="easyui-combobox" id="taxName" name="taxName" style="width:200px;">
<option value="">Please select</option>
<option value="VAT">VAT</option>
<option value="Turnover Tax">Turnover Tax</option>
<option value="Excise Tax">Excise Tax</option>
<option value="VAT Withholding tax">VAT Withholding tax</option>
</select>
</c:if>
</td>
关于select给默认值的问题
最新推荐文章于 2024-06-22 23:15:49 发布