<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function Time() {
var Time =new Date();
var div = document.getElementById("div");
div.innerHTML = Time.toLocaleTimeString();
setInterval("sj()", 1000);
setInterval("sj1()",1000);
}
var hour ="24";
var min ="00";
var second ="00";
function sj() {
var djs = document.getElementById("djs");
djs.innerHTML = hour +":"+ min +":"+ second;
if (second ==00& min ==00) {
hour = hour -1;
min ="59";
second ="60";
}
if (second >00) {
second -=1;
}
if (second ==00& min !=00) {
min -=1;
second ="10";
}
}
</script>
</head>
<body onload="Time()">
<form id="form1" runat="server">
<div id="div">
</div>
========================================
<div id="djs">
</div>
</form>
</body>
</html>
<head runat="server">
<title></title>
<script type="text/javascript">
function Time() {
var Time =new Date();
var div = document.getElementById("div");
div.innerHTML = Time.toLocaleTimeString();
setInterval("sj()", 1000);
setInterval("sj1()",1000);
}
var hour ="24";
var min ="00";
var second ="00";
function sj() {
var djs = document.getElementById("djs");
djs.innerHTML = hour +":"+ min +":"+ second;
if (second ==00& min ==00) {
hour = hour -1;
min ="59";
second ="60";
}
if (second >00) {
second -=1;
}
if (second ==00& min !=00) {
min -=1;
second ="10";
}
}
</script>
</head>
<body onload="Time()">
<form id="form1" runat="server">
<div id="div">
</div>
========================================
<div id="djs">
</div>
</form>
</body>
</html>