1.Client side code is as follows:
<select id="myIndent">
<option value="2">   second level</option>
<option value="3">   third level</option
</select>
JavaScript Code:
2.Server side code is as follows:
<asp:DropDownList ID="ddlTest" runat="server">
</asp:DropDownList>
CSharp Code:
How to put a space character before option text in a HTML select element?
最新推荐文章于 2022-02-28 03:53:55 发布