Version 2.8.2 raise the exception "appendChild is not a function" at line 4174.
var vNewNode = pParent.appendChild(document.createElement(pNodeType));
By replacing this with:
var vNewNode = document.createElement(pNodeType);
pParent.append(vNewNode);
if (pAttribs) {
for (var i = 0; i + 1 < pAttribs.length; i += 2) {
vNewNode.setAttribute(pAttribs[i], pAttribs[i + 1]);
}
}
fixes this problem and also the error, that vNewNode is "undefined".
Version 2.8.2 raise the exception "appendChild is not a function" at line 4174.
By replacing this with:
fixes this problem and also the error, that vNewNode is "undefined".