Microsoft
Software
Hardware
Network
Question : Remove a tag but leave the text
This is my code:
<div id="test">
<p>My Text</p>
<p>My Text</p>
</div>
I need jQuery that will remove all the p tags from#test and just leave:
<div id="test">
My Text
My Text
</div>
Thanks in advance.
Answer : Remove a tag but leave the text
Sorry i didnt read the complete question:
Just one appointment : )
1: 2: 3:
$("p", "#test").each(function() { $(this).replaceWith( $(this).html()+"<br>" ); });
Random Solutions
Crystal Reports to Accept Parameters Then Display Reports Accordingly
Delete user from Bes Express but system still thinks they are in the database
Remove character in paste Excel
Exchange 2010 inbound attachment size limit
What is Overloading?
Computing next id in base 36
.net Click Once With Silent Install
jquery Colorbox login form redirect
VB equation is slightly off
Unable to open PDF's in Outlook 2007, ""There was an error opening this document. This file cannot be found."