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
MS Access 2007 Login Form
Setting up airport express - what are dns servers?
Laptop video not displaying
ASP.NET ChartControl
‘Browse’ button component in jsf
Why Not able to read excel file in the Web application running on Windows7/Office2010?
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
ForeFront TMG Intermittent Internet Connection
sys.sysprocesses permissions
MULTIPLE CTE