Div = document.createElement("div"); Div.appendChild(document.createTextNode(test.firstChild.nodeValue)); Div.style = test.style;
Jak dodac style do nowo stworzonego elementu?
Konsola w FF wyrzuca:
Cytat
Błąd: setting a property that has only a getter