i want to grab the text between two tags, which is in main div, following is the example...
<div class="main_result">
some text....
<div>other divs</div>
<p>some other html</p>
<div class="bread_crump"></div>
text i want to grab
<b>selected category</b>
some other text and div...
</div>
obviously following example dont work, but its an idea..
var count = $('.main_result', data)
.find('.bread_crump')
.after('<span class="count_total" style="color:red">')
.parents('.main_result')
.find('.bread_crump ~ b')
.before('</span>')
.parents('.main_result').html();