2 ms·
The modern DOM equivalent would look almost the same as the jQuery version: document.querySelector(".class").remove(); document.querySelector(".class").aft
by jarek-foksa 6y ago
The modern DOM equivalent would look almost the same as the jQuery version:
document.querySelector(".class").remove();
document.querySelector(".class").after(...);