this is my code :
<p ><script>console.log($(this).parent())</script></p>
<p ><script>console.log($(this).parent())</script></p>
<p ><script>console.log($(this).parent())</script></p>
<p ><script>console.log($(this).parent())</script></p>
but this code cant get the
element , it show []
so how can i get the p element that dont add any classname in it ,
thanks
updated
it is ok now , use this code :
$("script").last().parent()