Hoi again...
I trie to recall a function after 15 sec. the code I use is like this
function reloads() {
switch (stPage)
{
case 0: setTimeout("doc ument.getElemen tById('myIframe ').src
='empty.htm'",0 );
stPage= 1;
break;
case 1: setTimeout("doc ument.getElemen tById('myIframe ').src
='test.htm'",0) ;
stPage= 2;
break;
case 2: setTimeout("doc ument.getElemen tById('myIframe ').src
='test2.htm'",0 );
stPage= 1;
break;
}
setTimeout=("re loads()",15000) ;
}
but I always get the error "Object doesn't support this action" Can someone
help my out with this problem?
thanks
greetings
Koen
I trie to recall a function after 15 sec. the code I use is like this
function reloads() {
switch (stPage)
{
case 0: setTimeout("doc ument.getElemen tById('myIframe ').src
='empty.htm'",0 );
stPage= 1;
break;
case 1: setTimeout("doc ument.getElemen tById('myIframe ').src
='test.htm'",0) ;
stPage= 2;
break;
case 2: setTimeout("doc ument.getElemen tById('myIframe ').src
='test2.htm'",0 );
stPage= 1;
break;
}
setTimeout=("re loads()",15000) ;
}
but I always get the error "Object doesn't support this action" Can someone
help my out with this problem?
thanks
greetings
Koen
Comment