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.
您不能有嵌套a标签。它不仅是无效的 HTML,而且无法实际工作。
a
如果您需要内部a成为超链接,请确保 jQuery 触发器对象是另一种类型的元素,例如 adiv或span- 两者都可以添加点击事件。
div
span