
March 14th, 2011, 02:13 PM
|
|
Contributing User
|
|
Join Date: Sep 2004
Posts: 112
Time spent in forums: 1 Day 14 h 59 m 45 sec
Reputation Power: 9
|
|
|
jQuery - Remove html tag
How can I remove the following tag with jquery?
<p align="center">Click here <a href="http://www.domain.com/" target="_blank">My domain</a></p>
Tried
jQuery('<p align="center">Click here <a href="http://www.domain.com/" target="_blank">My domain</a></p>').replaceWith('');
but it does not work
|