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
PHP Loading Bar
HP-UNIX - compressing/zipping files that are 31GB
hithavuzu.com why i see they are a referring site
Include C++ header files in .Net Application
IP Address Contention
Moving shares in SBS server 2008
Juniper SA2500 SSL VPN and Windows 2008 R2 firewall problem
MSExchange ActiveSync Event ID 1040 Annoying?!
Windows Printer atutomatic disabled in Terminal services configuration (RDP-Tcp properties).
Should Sys Admins (Domain Admins) also have user accounts?