Advertisement
trentjs

remove class by id

Oct 20th, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // REMOVE CLASS BY ID
  2. var thisRemoveId = document.getElementById("idName");
  3. thisRemoveId.classList.remove("class-name");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement