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
Windows Rights Management Server
How to request previous month's records in my sql's where clause?
Displaying GroupWise contacts in Exchange address book?
How to convert non ansi outer join =* to ansi outer join
Windows XP - Shutdown Causes Restart
bootable usb
C++ permutation with replacement algorithm
Exchange 2007 - Delivery is delayed to these recipients or distribution lists:
Queries inside a while loop
Capture Linkbutton click event in Master page from Content page