Hi, I am trying to create a new div as a child and then fade it in. Very basic but I can't get it to work!
Firebug gives me the error "node.style is undefined" when I call the anim method. What am I doing wrong?
function adddiv(text, divid){
// Create new div
var idd = counter++;
var txtdiv = document.createElement("div");
txtdiv.id = idd;
txtdiv.innerHTML = text;
// Make invisible and add to the top of the list
dojo.style(txtdiv, "opacity", 0);
dojo.place (txtdiv, divid, 0);
// Fade it in
