I have the following html:
<div class="scroller-pane">
<div class="scroller-header"></div>
<div class="scroller-division" id="0">
<div style="height:20px;"></div>
<div class="title">A day with bears</div>
<div class="date">30/06/2011</div>
<div class="clear"></div>
<div class="text">Lorem Ipsum is simply dummy text of the printing...</div>
<div style="float:right;"><a href="htp://www.google.com">more>></a></div>
</div>
<div>
And I have called:
console.log($('.scroller-pane .scroller-division #0 .title').html());
and
console.log($('.scroller-pane > .scroller-division > #0 > .title').html());
But all I get is 'undefined', why have neither of these select statement not worked? How do I write a jQuery select statement to get to the 'title' div..?