Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not complete the operation due to error 80020101. IE [duplicate]

Possible Duplicate:
Ajax request problem: error 80020101

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); } 

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

like image 747
Asif Alamgir Avatar asked Jun 05 '12 19:06

Asif Alamgir


1 Answers

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.

like image 167
Asif Alamgir Avatar answered Oct 19 '22 17:10

Asif Alamgir