How can I gram the nested element "4"?
I tried
var nights = $("div.nights h5 div.num").val();
and
var nights = $("div.nights > h5 > div.num").val();
example
<div class="nights">
<h5 class="biguns">
<div class="num">4</div>
Nights
</h5>
</div>