Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to exclude a specefic tagname from a javascript query search

var elems = document.querySelectorAll("body > *:not()");
//tag will go inside the not function like so:
var elems = document.querySelectorAll("body > *:not(img)");
 
PREVIOUS NEXT
Tagged: #exclude #specefic #tagname #javascript #query #search
ADD COMMENT
Topic
Name
6+1 =