C语言的后台没玩过。。。给不了你例子了
2010-11-11 09:50
2010-11-12 09:47
2010-11-12 13:47
程序代码:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www. xmlns="http://www. http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="http://ajax. type="text/javascript">
function GetData(){
$.ajax({
type:"POST",
url:'cmd.asp?t' + Math.random(),
dataType:"html",
success:function(result){
$("#time").html(result);
setTimeout("GetData()", 1000);
}
});
};
$(function(){
GetData();
})
</script>
</head>
<body>
<div id="time"></div>
</body>
</html>cmd.asp<%=Now()%>
2010-11-12 14:09
2010-11-13 10:56
2010-11-14 00:20
2011-09-19 10:05