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.
我是 mapSVG 的新手。我在 svg 文件的块上使用 onclick 事件。单击时,我想更改所有其他块的选中/未选中块的状态。我动态地拥有所有块的 id。如何使用块的 id 更改其状态选择/取消选择。