Why can’t I do this?! I waste so much time trying to find alternative ways to do stuff that jquery would allow. Why can’t we just have jquery?
- Because there is a simple vanilla JS
.cloneNodemethod that doing the same
- You can just install jQuery and use it if you like
I tried cloneNode and it fussed.
I guess in the middle of my fussing about clone not being included I was trying to find out if there is a specific reason why the full version of jquery wasn’t included before I just blindly include it.