日期:2014-05-16  浏览次数:20344 次

js获得鼠标坐标
<script language="javascript" type="text/javascript">
    window.onload = function(){
        document.onclick = function(){
            alert(event.clientX+":"+event.clientY);
        }
    }
</script>