if the user has no action for 2 minutes, then I will pop up a box to tell you that there is no action, how can I achieve it? If the operation does not pop up;
var Time=setInterval(fun,2000);
$("-sharpbig").click(function(){
alert("");
clearInterval(Time);
});
function fun(){
alert("");
}
but I won"t do it next time if I clear it like this. If the user still doesn"t do it, then I won"t have a pop-up box next time. How can I keep setInterval running? If I operate it, I won"t do it. I execute
if I don"t do anything.