我在我的jquery移動應用程序中填充數據庫的html下拉菜單。但第一項是可選的,但無法在選擇控件中顯示。如何做到這一點?HTML下拉菜單 - 下拉菜單中的第一項無法選擇
我的代碼是
<div data-role="fieldcontain" style="width: 50%">
<label for="selectmenu22">
<span style="font-family: times new roman,times;
font-size: medium;">
<b>Address Type:</b>
</span>
</label>
<select name="ddlAddressType" id="ddlAddresstype"
data-theme="b" data-mini="true" runat="server" required="required">
</select>
</div>
顯示爲代碼示例。 – Gajotres
代碼示例plz:3 – 2012-12-27 16:34:37
使用jquery mobile controls更新的代碼 – user1840936