I'm working on JavaScript about the document.getElementsByClassName("classname"). I don't know if there is a way to get all element by class something like *. For example:
const all_elements = document.getElementsByClassName("*");
I'm working on JavaScript about the document.getElementsByClassName("classname"). I don't know if there is a way to get all element by class something like *. For example:
const all_elements = document.getElementsByClassName("*");