I have an element like below. I want to remove the blockquote present inside and replace them by its innerHTML
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<blockquote style="margin-right: 0px; margin-left: 40px; border: none; padding: 0px;">HTML</blockquote>
<blockquote style="margin-right: 0px; margin-left: 40px; border: none; padding: 0px;">Java</blockquote>
</blockquote>
to
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
HTML<br>
Java<br>
</blockquote>
How can I do this? I know a way to achieve this by creating another node(like span/div) and then replace the . But I don't want to add any other elements and want only its innerHTML elements. Any help is much appreciated!
tags inside
– Sriharsha Feb 28 '13 at 12:29