当前位置 > 首页 > IE9\IE8

IE9 对select 带有 optgroup 的元素有很慢,有时候卡不能运行

2012-8-4 14:24:00来源:IE9\IE8

<title>new document </title><meta content="editplus" name="generator" /><meta content="" name="author" /><meta content="" name="keywords" /><meta content="" name="description" />

<select id="abc"><optgroup label="aaa"><option>123 </option> <option>456 </option> <option>789 </option> </optgroup> <optgroup label="bbb"><option>123 </option> <option>456 </option> <option>789 </option> </optgroup> <optgroup label="ccc"><option>123 </option> <option>456 </option> <option>789 </option> </optgroup> </select>

select 带有 optgroup 的元素有很慢,很卡有时候不能运行

<select id="abc"> 
<optgroup label="aaa"><option>123 </option> 
<option>456 </option> 
<option>789 </option> 
</optgroup> 
<optgroup label="bbb"><option>123 </option> 
<option>456 </option> 
<option>789 </option> 
</optgroup> 
<optgroup label="ccc"><option>123 </option> 
<option>456 </option> 
<option>789 </option> 
</optgroup> 
</select>