-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Mast
Sent: Wednesday, October 01, 2003 8:37 AM
To: [EMAIL PROTECTED]
Subject: CF and _javascript_Hello,
Can someone tell me why I'm getting an object expected error when I run the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Testing</title>
<script language="_javascript_">
function runMe(){
document.write("<cfoutput>#now()#</cfoutput>");
testingThis();
}
function testingThis(){
setTimeout('runMe()',2000);
}
</script>
</head><body >
</body>
</html>---------------------------------------------------------------
It runs once and then after 2 seconds I get the error.
Ron Mast
Truth Hardware
Webmaster
Title: Message
Looks
like SetTimeout Can only run once on a page...I took out the SetTimeOut and it
creates an infinite loop. Not sure the purpose of creating this loop, but
SetTimeout running multiple times is your issue.
- CF and Javascript Ron Mast
- RE: CF and Javascript Dan Blackman
- RE: CF and Javascript Nate Nielsen
- RE: CF and Javascript Ferguson, Ken
- RE: CF and Javascript Ferguson, Ken
- RE: CF and Javascript Ron Mast
- RE: CF and Javascript S . Isaac Dealey
- RE: CF and Javascript S . Isaac Dealey
- RE: CF and Javascript Ron Mast
- RE: CF and Javascript S . Isaac Dealey
- RE: CF and Javascript Ron Mast
- RE: CF and Javascript Jacob Cameron
