开发者

Cannot convert Nan to Java.lang.long

TimeoutInterval = TimeoutInterval * 60 * 1000; //Converting to milisecond
TimeOutObj = setTimeout(function(){    

},TimeoutInterval);

What is wrong here, why i am getting this e开发者_JAVA百科rror Cannot convert Nan to Java.lang.long.


try

  var TimeoutInterval = 1;
  TimeoutInterval = TimeoutInterval * 60 * 1000;


Do this :

var TimeoutInterval = 1;
TimeoutInterval = TimeoutInterval * 60 * 1000; //Converting to milisecond
var TimeOutObj = setTimeout(function(){},TimeoutInterval);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜