Hello all,
I'm trying to automate the submission of a page after a specific
amount of time, but each of the attempts below do not work. Any ideas
would be great -
Thanks,
Christine
function Timer() {
window.status=" ";
gTimerCount--;
if (gTimerCount > 0)
{
if (gTimerCount == 300) TimeWarning();
window.status = "Time Remaining: " +
ConvertNum(gTim erCount);
gTimer=window.s etTimeout("Time r()",1000);
}
else{
window.document .form.submit.cl ick();}
// document.form.s ubmit.click();}
// document.form.s ubmit();}
}
I'm trying to automate the submission of a page after a specific
amount of time, but each of the attempts below do not work. Any ideas
would be great -
Thanks,
Christine
function Timer() {
window.status=" ";
gTimerCount--;
if (gTimerCount > 0)
{
if (gTimerCount == 300) TimeWarning();
window.status = "Time Remaining: " +
ConvertNum(gTim erCount);
gTimer=window.s etTimeout("Time r()",1000);
}
else{
window.document .form.submit.cl ick();}
// document.form.s ubmit.click();}
// document.form.s ubmit();}
}
Comment