[removed] function show_coords(event) { x=event.clientX y=event.clientY alert("X 坐标: " + x + ", Y 坐标: " + y) } [removed] 在此文档中按下你鼠标的左键看看!