SyntaxFix
Write A Post
Hire A Developer
Questions
var a = A.parentNode.replaceChild(document.createElement("span"), A);
a is the replaced A element.