Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get element using id and class name

document.querySelector('#id-goes-here .class-goes-here');
 
PREVIOUS NEXT
Tagged: #javascript #element #id #class
ADD COMMENT
Topic
Name
6+8 =