set time out in JavaScript
Because setTimeout()
requires your function to be passed as a string or as an anonymous function:
setTimeout(function() { document.getElementById("safeFormec").submit(); }, 100);
Take away the quotes from around your action:
setTimeout(function() {
document.getElementById("safeForm4d").submit();
}, 3000);
Have you tried removing the function call brackets from the end of this line?
document.getElementById("safeForm9c").submit()
i.e. do this instead:
setTimeout(document.getElementById("safeForm9c").submit, 100)
You’re telling IE to call the results of submit()
in 100 milliseconds time, rather than call submit.