Hi,
I have a process where every so often I refresh a table's data using a
setTimeout() .. and when its no longer needed, a clearTimeout().
The following is a simple example of how this is done:
var goMenuTimeout = null;
function LoadMenu() {
// cancel any repeat actions
clearTimeout(go MenuTimeout);
// do some loading stuff
I have a process where every so often I refresh a table's data using a
setTimeout() .. and when its no longer needed, a clearTimeout().
The following is a simple example of how this is done:
var goMenuTimeout = null;
function LoadMenu() {
// cancel any repeat actions
clearTimeout(go MenuTimeout);
// do some loading stuff
Comment