台历控件

日历控件在很多的web开发中我们都需要用到日历控件,下面介绍一个好用的日历控件 用法如下: (1)导入日历控

日历控件
在很多的web开发中我们都需要用到日历控件,下面介绍一个好用的日历控件 用法如下:
(1)导入日历控件:
<script type="text/javascript"  src="/YYXSMS/js/Calendar.js"></script>

(2)在一个text文本域中用onclick触发该日历的事件SelectDate():
<input style="padding-left:5px;" size="10" id="date" onclick="SelectDate(this)" readonly="readonly"  />