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
Name/type of USB charger
sql inValid Object Name how to solve it?
Threaded or async service
How to Setup Airport Extreme as DHCP Server on LAN with SonicWall
MySQL Inner, Left and Right Join
Object reference not set to an instance of an object.
Add comments to PDF
CSS Template
How can I "sp_help" the output signature of a Stored Procedure?
Easy to use student management software