是否可以在select2上有多個optgroup?
基本上,在另一個optgroup內的optgroup。optgroup中的Select2 optgroup
<select>
<optgroup label="Level_1">
<optgroup label="Level_2">
<option value="option_1">option_1</option>
<option value="option_2">option_2</option>
</optgroup>
</optgroup>
</select>
謝謝。
這確實有效! 5個月前,當我需要你時,你在哪裏? :P – Manatax 2015-06-12 22:35:21