html li onclick,javascript - Remove clicked
UPDATEPlain JS delegationAdd the eventListener to the UL to delegate the click even on dynamically inserted LIs:document.getElementById("ul").addEventListener("click",function(e) {var tgt = e.target;i...