Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 HTML 结构:
<p>Hello world!</p>
如果我使用mousedown jQuery 事件单击“w”字符,如何将e.pageX转换为段落元素内的正确字符位置?