js精简写倒计时函数
<div class="fRight mR10" id="time"> </div> <script type="text/javascript"> window.onload=function (){ setInterval("document.getElementById('time').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000); } </script>