Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript select first element

// example:
document.querySelector('.message')

// syntax:
// document.querySelector('.<class-name>')
 
PREVIOUS NEXT
Tagged: #javascript #select #element
ADD COMMENT
Topic
Name
8+1 =