jquery基于bootstrap自定义双日期选择器插件

所属分类: 网页特效-日期时间    2023-11-26 04:11:31

jquery基于bootstrap自定义双日期选择器插件 ie兼容6
 查看演示  登录后下载 温馨提示
登录会员即可享受免费下载
 我要建站

jquery基于bootstrap自定义双日期选择器插件(共3个文件)

    • index.html

使用方法

var date = new Date();
var today = new Date(date.getFullYear(), date.getMonth(), date.getDate());

var optSimple = {
  format: 'mm-dd-yyyy',
  todayHighlight: true,
  orientation: 'bottom right',
  autoclose: true,
  container: '#sandbox'
};

var optComponent = {
  format: 'mm-dd-yyyy',
  container: '#datePicker',
  orientation: 'auto top',
  todayHighlight: true,
  autoclose: true
};

// SIMPLE
$( '#simple' ).datepicker( optSimple );

// COMPONENT
$( '#datePicker' ).datepicker( optComponent );

// ===================================

$( '#datepicker1' ).datepicker({
  format: "mm : dd : yyyy",
  todayHighlight: true,
  autoclose: true,
  container: '#box1',
  orientation: 'top right'
});

$( '#datepicker2' ).datepicker({
  format: 'mm \\\\ dd \\\\ yyyy',
  todayHighlight: true,
  autoclose: true,
  container: '#box2',
  orientation: 'top right'
});

$( '#datepicker1, #datepicker2, #simple, #datePicker' ).datepicker( 'setDate', today );

站长提示:
1. 苦力吧素材官方QQ群:950875342
2. 平台上所有素材资源,需注册登录会员方能正常下载。
3. 会员用户积极反馈网站、素材资源BUG或错误问题,每次奖励2K币
4. PHP源码类素材,如需协助安装调试,或你有二次开发需求,可联系苦力吧客服。
5. 付费素材资源,需充值后方能下载,如有任何疑问可直接联系苦力吧客服
相关资源 / 日期时间

jquery响应式日历方块热图插件

CalendarHeatmap.js是一个日历热图插件,可生成一个动态交互式、可自定义的日历热图,用于表示时间序列数据。鼠标悬停在小方格上,可显示当前日期时间。
  日期时间
 4722  0

jquery支持自定义的日期选择器插件

Zebra_Datepicker是一款可自定义的日期选择器插件,点击Input或者按钮可弹出日历。。
  日期时间
 5665  0

jquery数字时钟和模拟时钟相互切换特效代码

一款响应式在线时钟插件,使用JavaScript创建数字和模拟时钟特效,可相互切换显示。
  日期时间
 2675  0

javavscrip+css实现的在线模拟数字时钟特效代码

一款在线时钟动画特效代码,模拟时钟的时分秒在跑动,下方显示当前时间和日期,带开灯关灯背景色切换效果。
  日期时间
 1740  0

评论数(0) 回复有机会获得K币 用户协议

^_^ 还没有人评论,快来抢个沙发!
😀
  • 😀
  • 😊
  • 😂
  • 😍
  • 😑
  • 😷
  • 😵
  • 😛
  • 😣
  • 😱
  • 😋
  • 😎
  • 😵
  • 😕
  • 😶
  • 😚
  • 😜
  • 😭
发表评论