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
Could not reliably determine the server's fully qualified when trying to restart https service
Backup Exec 12 - can't install any updates - gives error 1324 "The path Program Files contains an invalid character"
MS Access Update a field based on multiple field values
unable to browse .asmx page in IIS7
can't get iPhone to connect to Exchange 2010 from outside...
Filtering the SSRS report based on multivalue multiple parameters passed to stored procedure
compile this code with Delphi 2010
how to replace all any chr(10)/chr(13) _not_ within html tags with a <br>
C# sharing variables or data between different classes
URGENT: Solaris virtual printer lpd printing setup