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.
我需要删除一个其属性为cursor = "pointer".. 我需要在 html 中使用 javascript 有问题的项目是 this <g cursor="pointer"></g>。我不知道元素在 html 中具有这种形式的原因。
cursor = "pointer".
<g cursor="pointer"></g>
你可以使用这个:
$('g[cursor="pointer"]').remove();