DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if the element exist in the parent element javascript
function checkParent(parent, child) { if (parent.contains(child)) return true; return false; }
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#check
#element
#exist
#parent
#element
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit