1
這不適用於Chrome?在Chrome中選擇模糊()的解決方案?
<select id="mySelect" onmouseout="defocusSelect()">
<option>A</option>
<option>B</option>
</select>
...
function defocusSelect(){
document.getElementById('mySelect').blur();
}
我需要這個來隱藏選項列表,當我將鼠標移離選擇區域時。它不適用於Chrome。有誰知道我可以使用什麼來代替blur()
,以便在Chrome上使用此功能?
看到這個答案http://stackoverflow.com/a/3348559/22470 – powtac 2012-02-15 14:04:05
你使用哪個版本的chrome和哪個操作系統? – iblue 2012-02-15 14:04:15
Windows上的Chrome 16 – 2012-02-15 14:16:42