.text target content
HTML
<div class="title-wrap">
<span class="title">Hello World</span>
<br>
This title is about Hello World
</div>
JavaScript
var test = (jQuery('.title-wrap').text() || '' );
alert (test);
<div class="title-wrap">
<span class="title">Hello World</span>
<br>
This title is about Hello World
</div>
var test = (jQuery('.title-wrap').text() || '' );
alert (test);