摘要:
代码如下: 1 <div id="msg1">msg</div> 2 <div id="msg2">msg</div> 3 <script> 4 function $(d){ 5 return document.getElementById(d); 6 } 7 var TimeWast = function () { 8 var timeStart; 9 this.Start = function () {10 timeStart = new Date();11 }12 this.wast = 阅读全文