JavaScript parentNode

element = document.querySelector('a')
parentElement = element.parentNode;
Beautiful Bear