日期时间选择器在java脚本中不起作用。 [英] Date time picker is not working in java script.

查看:72
本文介绍了日期时间选择器在java脚本中不起作用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想出了在共享点上的列表项添加日期时间选择器的要求。我使用共享点设计器通过编辑器Web部件添加。虽然调试它显示错误,如未捕获的TypeError:$(...)。datepicker这不是一个功能。但我尽可能参考了所有参考文献,但我无法解决这个问题。



我尝试过的事情:











 





$(文件).ready(function(){





$(#todatepicker)。datepicker(); ---运行时显示未捕获的TypeError:$(...)。datepicker

$( #todatepicker1)。datepicker();



});



起日期: 

到目前为止:

I came up with requirement of adding date time picker on list item in share point.I was using share point designer to add through editor web part.While debugging it shows error like uncaught TypeError: $(...).datepicker is not a function.But I had all the reference as possible but I can't overcome this issue.

What I have tried:





 


$(document).ready(function() {


$( "#todatepicker" ).datepicker();--- while running it shows uncaught TypeError: $(...).datepicker
$( "#todatepicker1" ).datepicker();

} );

From Date:  
To Date:

推荐答案

(...)。datepicker不是一个函数。但我尽可能参考了所有参考资料但是我可以克服这个问题。



我尝试过:











 




(...).datepicker is not a function.But I had all the reference as possible but I can't overcome this issue.

What I have tried:





 



(document).ready(function(){




(document).ready(function() {



(#todatepicker)。datepicker(); ---运行时显示未捕获的TypeError:
( "#todatepicker" ).datepicker();--- while running it shows uncaught TypeError:


这篇关于日期时间选择器在java脚本中不起作用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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