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
Need to know all ports associated with network shares
Joomla CiviCRM problem
Application pool suffered a fatal communication error with WWW PS
Conditional Formating in Access
Blackberry browser 400 error - socketexception Connection reset
How do I change default email address in site on sharepoint 2007 moss
-ERR Protocol Error. 17
Splitting db and performance
The 5000n printer will only print to the manual feed tray
basic quadratic question