|
Although you are correct that the object itself must be entered for the parameter and not a string, I expect that the setInterval function's parameters are already correct, since it works fine when initially loaded.
Seems to me that the script is not executing when the window displays the document from its history's cache, accessed via the browser's back button, and I wonder therefore if triggering setInterval via the document's onfocus event might relaunch script execution.
|