JQuery Replacechild

$(this).replaceWith(newElem);
Vivacious Vulture