News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by jarek-foksa on Thursday January 14, 2021 @04:26AM (#25774107)
The modern DOM equivalent would look almost the same as the jQuery version:

  document.querySelector(".class").remove();
  document.querySelector(".class").after(...);

There are no comments on this comment yet.