呵呵
<body>
</body>
<script>
document.onmousedown=function(event){show(event)}
function show(e){
e=e||event
alert(e.button)//可以看到为什么了
if(e.button==1)
{alert("2")}
}
</script>
<body>
</body>
<script>
document.onmousedown=function(event){show(event)}
function show(e){
e=e||event
alert(e.button)//可以看到为什么了
if(e.button==1)
{alert("2")}
}
</script>
ie下
看错误
我就是按左下交的那个提示
ff就不知道怎么做了/。。