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
How to redirect a subdirectory to an alternate server and retain original URL
How to create bootable DVD from downloaded Windows Server EXE
VPN Disconnects
How to write a simple PHP login script
what's different between SAP Crystal Reports and SAP Crystal Reports Server 2008?
strange connection speed problem
Shell Api problem
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
2 raid controllers managing the disk array
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.