J
Janek
howManyTimes=1;
newNode= new Array();
while(howManyTimes<=4){
newNode[howManyTimes]=document.createElement('div');
calendar.appendChild(newNode[howManyTimes]);
++howManyTimes
}
Above code should create few dives (4), and it does in Firefox. But
it
doesnt in IE.
My question is how to do same thing in other way. (not writing it in
ugly way).
(IE error messege is in the topic.)
newNode= new Array();
while(howManyTimes<=4){
newNode[howManyTimes]=document.createElement('div');
calendar.appendChild(newNode[howManyTimes]);
++howManyTimes
}
Above code should create few dives (4), and it does in Firefox. But
it
doesnt in IE.
My question is how to do same thing in other way. (not writing it in
ugly way).
(IE error messege is in the topic.)