js 下拉框 onmouseover onmousemove !!
为什么option 里无法捕获onmouseover onmousemove 等事件呢????
也可以,比如:
<select>
<option id="ww1" onmousemove="kk1()">q1</option>
<option id="ww2" onclick="kk2()">q2</option>
</select>
<a href="#" onclick="ll8()">显示</a>
<script language="javascript">
function kk1(){
alert("q1");
}
function kk2(){
alert("q2");
}
function ll8(){
document.getElementById("ww2").click();
document.getElementById("ww1").onmousemove();
}
</script>