this: document.getElementsByClassName('warningmessage').remove();
doesn't work if you have multiple warningmessage elements on the page.
How can I just delete all elements with that class? do I have to use a for each
? isn't there a command to deleteall()?
thanks for your tips!
See Question&Answers more detail:os