nath.bplb Posted July 8, 2011 Share Posted July 8, 2011 Go to http://www.w3schools.com/jsref/tryit.asp?f...tetime_millisec and check the function checkTimeMsec(i)Hope you can see the condition of if statement there !Now, Suppose the millisecond of current time is 10...then the condition i<100 && i>10 will generate the millisecond part as 10, while it should be 010.So rectify that conditon this way if(i<100 && i>9) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.