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);
精彩评论