How can I get plain text from an element?
<div id="summary_header">
<span class="heading" style="margin-left: 210px;">This is first line</span><br/>
<span style="margin-left: 260px;"><b> You are in second line</b></span><br/>
</div>
What's the way to get plain text from this div tag? I want to get plain text as "This is first line You are in second line".
$('summary_header').textContent gives with white spaces.