My problem is in the code below.. I can't append the child to my document..?
How could I solve this?
Everything works fine, except appending the div to my document.Code:var newdiv = document.createElement('div'); newdiv.setAttribute("id","moot450"); newdiv.setAttribute("style", "position:absolute; border:2px solid #000000; width:300px; height:300px;"); document.appendChild(newdiv);
Thanks for any help!
/Artheus


Reply With Quote

Bookmarks