日期:2014-05-20  浏览次数:20469 次

鼠标点击。。。。。。
在asp.net中,在一个页面任意地方点击弹出一个新页面,新页面有两个文本框得到点击页面的鼠标所点击位置x,y坐标,请问高手门怎么做到?

------解决方案--------------------
<script type= "text/javascript "> function document.onclick() { var str = " <HTML> <BODY> <input type= 'text ' value= ' "+ event.x+ " '> "; str += " <input type= 'text ' value= ' "+ event.y+ " '> </BODY> </HTML> "; var win = window.open( "about:blank "); win.document.write(str); } </script>
------解决方案--------------------
url传过去
------解决方案--------------------
顶慕白兄
------解决方案--------------------
帮LZ顶