showing results for - "how to exclude a specefic tagname from a javascript query search"
Clayton
16 Jan 2018
1var elems = document.querySelectorAll("body > *:not()");
2//tag will go inside the not function like so:
3var elems = document.querySelectorAll("body > *:not(img)");