Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check if element has specific child

if (element.hasChild(specificChild)) {
  // do something
}
 
PREVIOUS NEXT
Tagged: #javascript #check #element #specific #child
ADD COMMENT
Topic
Name
8+4 =