Wraps this element inside the given element. It's like this.replaceWith(what); what.appendchild(this);
Given: <b>cool</b>, if you call b.wrapIn(new Link("site.com", "my site is ")); you'll end up with: <a href="site.com">my site is <b>cool</b></a>.
See Implementation
Wraps this element inside the given element. It's like this.replaceWith(what); what.appendchild(this);
Given: <b>cool</b>, if you call b.wrapIn(new Link("site.com", "my site is ")); you'll end up with: <a href="site.com">my site is <b>cool</b></a>.