jQuery: how to change tag name?
For example:
$1
I need
$1 <
To replace the internal contents of multiple tags, each with their own original content, you have to use .replaceWith() and .html() differently:
.replaceWith()
.html()
http://jsfiddle.net/kcrca/VYxxG/