var x = $(".yourclass")[0]; console.log('jq' + x); var y = document.querySelector(".yourclass"); console.log('js' + y);