Replace html tags using jQuery
Replacing html tags using jQuery Codes
by dimaslanjaka
HTML
<blockquote>Test</blockquote>
JavaScript
$('blockquote').replaceWith(function(){
return $("<b />").append($(this).contents());
});
by dimaslanjaka
<blockquote>Test</blockquote>
$('blockquote').replaceWith(function(){
return $("<b />").append($(this).contents());
});