Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.getElementsByClassName("modal-footer").length //returns length 0
- var compElem = document.getElementById("anElementInMyComponent");
- compElem.parentElement.nodeName //BODY
- compElem.parentElement.parentElement.nodeName //HTML
Add Comment
Please, Sign In to add comment