...
|
...
|
@@ -39,7 +39,12 @@ |
|
|
function stopCount() {
|
|
|
var endTime = parseInt($('#endTime').val());
|
|
|
var startTime = parseInt($('#startTime').val());
|
|
|
alert(endTime);
|
|
|
alert(startTime);
|
|
|
alert(endTime - startTime > 60);
|
|
|
var secondVar = parseInt((endTime - startTime) % 60);
|
|
|
alert(secondVar);
|
|
|
|
|
|
if (endTime - startTime > 60) {
|
|
|
var minuteVar = parseInt((endTime - startTime) / 60);
|
|
|
totalVar = minuteVar + '分' + secondVar + '秒';
|
...
|
...
|
|