当前位置: 代码迷 >> ASP.NET >> 鼠标点击。该怎么处理
  详细解决方案

鼠标点击。该怎么处理

热度:5699   发布时间:2013-02-26 00:00:00.0
鼠标点击。。。。。。
在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顶
  相关解决方案