dfg fggg sdfsdf fdgdf fdggg 

JavaScript 不斷刷新時間
<div id="time" align=center>time</div>
<script language="javascript">function time1(){ now=new Date(); h = now.getHours()+":"; //得到小时 m = now.getMinutes()+":"; //得到分钟 s = now.getSeconds(); //得到秒 document.all["time"].innerHTML="现在时间是:"+h+m+s;
setInterval('time1()',100);
</script>


.msgcontent .wsharing ul li { text-indent: 0; }



分享

Facebook
Plurk
YAHOO!



 

1234567890
arrow
arrow
    全站熱搜

    lwkdutlmoy 發表在 痞客邦 留言(0) 人氣()