Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery check if element has child

if ($('#example').find('#test').length) {
    // found!
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #check #element #child
ADD COMMENT
Topic
Name
1+3 =