jQuery - Having a problem with $(this).find(".event_recur").html()
- by Fostah
Hello,
I am trying get the html within .event_recur.
$(".entry").each(function(){
alert($(this).find(".event_recur").html());
});
<div class="entry">
<p class="event_title">June 21st Event - eat</p>
<p class="event_start_date">1277160289</p>
<p class="event_end_date">1277505889</p>
<p class="event_body"><p>June 21-25th
</p></p>
<p class="event_recur"><p>No
</p></p>
<p class="event_body"><p>June 21-25th
</p></p>
<p class="event_location"><p>Pac Sun
</p></p>
<p class="event_categories">
Eat
</p>
</div>
I get nothing when I do:
$(".entry").each(function(){
alert($(this).find(".event_recur").html();
});
I was expecting:
<p>No
</p>
Am I missing something? Thanks!