re: Beyond appendChild: Better convenience methods for HTML VIEW POST

TOP OF THREAD FULL DISCUSSION
re: As a curiosity: .remove on <select> elements can take an optional argument. Why? Because it's the method used to remove an option from its l...
 

I've not really used the .insertAdjacent... methods. Good point about adding HTML though—I suppose the other way to do that is to create a dummy node (or fragment) and then append the content of that, but that is nice... if you're adding HTML directly.

code of conduct - report abuse