I had this jquery idle timeout script implemented into a site, thanks to ehynds for the great job.
Everything is working fine except below part:
onTimeout: function(){
window.location = "timeout.htm";
},
There is another function which will handle the logout process in the same page, I want the onTimeout will trigger a logout function when the timer is reached, which is like below:
onTimeout: function(){
// call a logout function here;
},
How can I call the function load inside onTimeout block?