I was a bit vague in my first post. This is the code I'm trying to execute:
Code:
var errorlist = document.createElement("UL");
errorlist.setAttribute("id","errormessages");
var targetelement = document.forms["adduserform"];
document.body.insertBefore(errorlist,targetelement);
In Iexplore i get a vague errormessage that the argument was not valid
In FF it says something about missing node... I don't get it
Matt.