//获取鼠标坐标
        $(function() {
            $("#Button2").click(function(event) {
              
            alert(event.pageX);
            alert(event.pageY);
            });
        });

 

------------HTML代码

    <input >

相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
  • 2021-11-07
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2021-11-19
  • 2022-12-23
相关资源
相似解决方案