最近找到了一款支持IE8的时间控件,支持年月日时分秒

使用方法很简单

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>基础示例 - LHGCALENDAR</title>
   
	<link rel="icon" href="../favicon.ico" type="p_w_picpath/x-icon"/>
	<link rel="shortcut icon" href="../favicon.ico" type="p_w_picpath/x-icon"/>
	<link href="../_doc/common.css" type="text/css" rel="stylesheet"/>
	<link href="../_doc/prettify/prettify.css" type="text/css" rel="stylesheet"/>
	<script type="text/javascript" src="../_doc/prettify/prettify.js"></script>
	<script type="text/javascript" src="../jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="../lhgcalendar.min.js"></script>
	<!--<script type="text/javascript" src="demo.js"></script>-->
	<script type="text/javascript" >
		$(function() {
			$("#test").calendar();//年月日的格式
			$("#test1").calendar({ format:'yyyy-MM-dd HH:mm:ss' });//年月日时分秒的格式
		});
	</script>
</head>

<body>
    
	 <input type="text" id="test">
	 <input type="text" id="test1">
	
</body>
</html>
其他用法相同,见附件中的demo