由于错误80020101,无法完成操作.IE [英] Could not complete the operation due to error 80020101. IE

查看:127
本文介绍了由于错误80020101,无法完成操作.IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

Ajax请求问题:错误80020101

我正在使用JQuery -1.64这是我重置计时器的代码

I am using JQuery-1.64 and this is my code to reset timer

var message="Logged in";
var myTimeout = setTimeout("timerDone()",1000 * 1440);
function timerDone()
{
    message="Logged out";   
}
function timerReset()
{


    clearTimeout(myTimeout);
    myTimeout = setTimeout("timerDone()", 1000 * 1440);
}

但它给我一个错误,仅在IE中,当我尝试做clearTimeout。
任何想法????

But it gives me an error, only in IE, when I am trying to do clearTimeout. Any Idea????

推荐答案

我不知道为什么但它对我有用。如果你有评论,比如

I dont know why but it worked for me. If you have comments like

//Comment

然后它会出现此错误。要解决此问题

Then it gives this error. To fix this do

/*Comment*/

没有意义,但对我有用。

Doesn't make sense but it worked for me.

这篇关于由于错误80020101,无法完成操作.IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆