DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get child element of parent by class
parent = document.getElementById('parent_id'); child = parent.querySelector('.className');
PREVIOUS
NEXT
Tagged:
#child
#element
#parent
#class
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit