idle timeout in Jquery mobile

idle timeout in Jquery mobile

Hi
I am new to Mobile query
I would like to implement Idle time out in Jquery mobile
Please kindly let me know how t implement it in Jquery mobile
 
 
It should work on both browser- firefox chrome
 
and on mobile devices -  android, Ios, windows  taking to other page or refreshing the page
cheers,
vinay