jQuery UI datetimepicker选项sliderAccess不显示按钮 [英] jQuery UI datetimepicker option sliderAccess not Showing buttons

查看:167
本文介绍了jQuery UI datetimepicker选项sliderAccess不显示按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用

解决方案

因为必须包含一个额外的脚本而无法正常工作 jquery-ui-sliderAccess.js



我在文档中找不到任何指示,但我发现它正在检查示例在网站上。



此处的脚本: http: //trentrichardson.com/examples/timepicker/jquery-ui-sliderAccess.js



工作演示: http://jsfiddle.net/IrvinDominin/6FGgA/


i'm using the datetime picker plugin, when i use the option to show

+- buttons next to the slider it doesn't work i don't know why

Notice

  • i'm trying to show this on a desktop browser
  • my console doesn't show any errors

i'm using this given code from the plugin web site

 $('#slider_example_3').datetimepicker({
    addSliderAccess: true,
    sliderAccessArgs: { touchonly: false }
 }); 

jsFiddle to show the problem

解决方案

Is not working because you must include an additional script jquery-ui-sliderAccess.js

I can't find any indication in the docs, but I found it be checking the examples on the site.

Script here: http://trentrichardson.com/examples/timepicker/jquery-ui-sliderAccess.js

Working demo: http://jsfiddle.net/IrvinDominin/6FGgA/

这篇关于jQuery UI datetimepicker选项sliderAccess不显示按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆