mamta
0
Q:

html how to check which parent node has

var x = document.getElementById("myLI").parentNode.nodeName;
1

New to Communities?

Join the community