Using .replaceWith throws uncaught exception error
Hello,
I'm a bit of a jQuery n00b. Just trying to replace some content. I'm using console.log to print the variable I'm trying to use the replaceWith for and it's showing up fine.
However when calling replaceWith I get this weird error. "uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMDocumentFragment.appendChild]" nsresult: "0x80570" ...
See page source for HTML output trying to be replaced.
Any help/guidance would be greatly appreciated!
Cheers