Home  >  Q&A  >  body text

javascript - Can removeAttribute delete multiple attributes at the same time?

Can removeAttribute delete multiple attributes at the same time?
For example, height and width attributes.

<svg xmlns="http://www.w3.org/2000/svg" width="900" height="800"></svg>
过去多啦不再A梦过去多啦不再A梦2732 days ago501

reply all(2)I'll reply

  • 迷茫

    迷茫2017-05-19 10:39:34

    Just call it twice

    reply
    0
  • 为情所困

    为情所困2017-05-19 10:39:34

    reply
    0
  • Cancelreply