大佬教程收集整理的这篇文章主要介绍了javascript – 多个datepickers无法正常工作,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我有代码来添加日期选择器.工作正常.但是当我尝试添加多个拣货员(div)时.只有第一个选择器工作,任何人都可以解释我有什么问题.我需要在我的时间表中添加十六个日期选择器(输入).
http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
http://tarruda.github.com/bootstrap-datetiR_528_11845@epicker/assets/css/bootstrap-datetiR_528_11845@epicker.min.css">
datetiR_528_11845@epicker" class="input-append date">
datetiR_528_11845@epicker" class="input-append date">
http://cdnjs.cloudFlare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
http://tarruda.github.com/bootstrap-datetiR_528_11845@epicker/assets/js/bootstrap-datetiR_528_11845@epicker.min.js">
http://tarruda.github.com/bootstrap-datetiR_528_11845@epicker/assets/js/bootstrap-datetiR_528_11845@epicker.pt-BR.js">
datetiR_528_11845@epicker').datetiR_528_11845@epicker({
format: 'dd/MM/yyyy hh:mm',language: 'en',pick12HourFormat: true // enables the 12-hour format time picker
});
$('#datetiR_528_11845@epicker').datetiR_528_11845@epicker({
应该 :
$('.date').datetiR_528_11845@epicker({
希望这可以帮助.
http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
http://tarruda.github.com/bootstrap-datetiR_528_11845@epicker/assets/css/bootstrap-datetiR_528_11845@epicker.min.css">
datetiR_528_11845@epicker" class="input-append date">
datetiR_528_11845@epicker" class="input-append date">
http://cdnjs.cloudFlare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
http://tarruda.github.com/bootstrap-datetiR_528_11845@epicker/assets/js/bootstrap-datetiR_528_11845@epicker.min.js">
http://tarruda.github.com/bootstrap-datetiR_528_11845@epicker/assets/js/bootstrap-datetiR_528_11845@epicker.pt-BR.js">
datetiR_528_11845@epicker({
format: 'dd/MM/yyyy hh:mm',pick12HourFormat: true // enables the 12-hour format time picker
});
以上是大佬教程为你收集整理的javascript – 多个datepickers无法正常工作全部内容,希望文章能够帮你解决javascript – 多个datepickers无法正常工作所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。