Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get parent html js

var x = document.getElementById("myLI").parentNode;
 
PREVIOUS NEXT
Tagged: #parent #html #js
ADD COMMENT
Topic
Name
4+2 =