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
J2ME - J2ME Polish - Class not found error only in some places
Router Sessions
Detect dual monitor via javascript
Send Mail via Google Apps
user access list - who maintains them
MS SQL count total time.
Convert web.config from .NET 3.5 to 4.0
security updates for windows 2003 server not downloading
asp - The resource could not be found
Muliti Site Network Help