支持火狐和IE的时间控件

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>日历控件</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="imagetoolbar" content="no" />
<script language="JavaScript" src="myDate.js"></script>
</head>
<body>
<input type="text" style="border:1px solid #cccccc;" size="15" onclick="fPopCalendar(event,this,this)" onfocus="this.select()" readonly="readonly" />
<br />
</body>
</html>


本文来自CSDN博客http://blog.csdn.net/wanghuailong/archive/2009/06/23/4291203.aspx

 

myDate.js 以作为附件上传

你可能感兴趣的:(JavaScript,html,.net,XHTML,IE)