I need to get 2 as number for future using (2)
<div class="pageCont">
<span class="link">
<span class="page">
<span class="page active">2</span>
</div>
I have tried alert(jQuery(".page active").text()); do not work because I use 2 parameters. I do not know how to tell jquery to show
pageCont->active
try
$('.page.active').text();