求个兼容的写法js 怎么获得页面任何位置点击事件.IEfunction document.onmousedown() {alert(event.client
求个兼容的写法
js 怎么获得页面任何位置点击事件.
IE
function document.onmousedown() {
alert(event.clientX);
}
有没有兼容其他浏览器的写法
[解决办法]
http://www.codebit.cn/javascript/mouse-position.html
