JavaScript time outs
Sometimes it’s necessary to repeat an action in JavaScript to check if something’s updated since last time the function was called: window.setInterval(“goAjax()”,1000); Sometimes things don’t immediately update in a browser so you may need to delay a function call using something like this: var bVal = setInterval(“buttonValid();”,500); and clearInterval(bVal); Functions/statements must be in quotes. Timings [...]


