当前位置:首页 > 网页特效 > 时间日期 >

自定义的日历小控件

时间:2013-06-02 21:36 来源:互联网 作者:源码搜藏 收藏 推荐

运行代码 保存代码 复制代码 提示:您可以先修改部分代码再运行,保存代码功能在Firefox下无效。
  • 自定义的日历小控件,html结构: 
    JS 调用: var calendar=new Calendar("calendar",2000); 
    接口:calendar.getValue(),返回选择的日期,例:20130101,calendar.setValue(date),设置默认日期,date{string},例:calendar.setValue('2013-01-01')。
由源码搜藏网整理,转载请注明出处https://www.codesocang.com/tx-shijian/4951.html

时间日期下载排行

最新文章