我有这个HTML代码:
<select id="dummy4" name="dummy4" class="myselectbox">
<option>....</option>
<optgroup label="Agent1">
<option>Subagent1.1</option>
<option>Subagent1.2</option>
<option>Subagent1.3</option>
<option>Subagent1.N</option>
</optgroup>
<optgroup label="Agent2">
<option>Subagent2.1</option>
<option>Subagent2.2</option>
</optgroup>
...
是否可以从中创建自定义控件?
答案 0 :(得分:1)
MSDN上有关于此问题的部分:http://msdn.microsoft.com/en-us/library/zt27tfhy.aspx
具体来说,演练看起来很有用:http://msdn.microsoft.com/en-us/library/yhzc935f.aspx
答案 1 :(得分:1)