AConnorABBCO
07-27-2005, 03:12 PM
I keep getting an error on this script and I don't know why.
function countdown(){
document.clear();
document.writeln("Checked for update at " + time + "<br>Next update in " + count + " seconds.");
count--;
self.setTimeout("countdown();",1000);
}
I call it and it runs through once, runs through a 2nd time, except the text moves down a line, and then it gives me an "Object required" error.
Any help?
function countdown(){
document.clear();
document.writeln("Checked for update at " + time + "<br>Next update in " + count + " seconds.");
count--;
self.setTimeout("countdown();",1000);
}
I call it and it runs through once, runs through a 2nd time, except the text moves down a line, and then it gives me an "Object required" error.
Any help?