Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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:
Posted
Updated 28-Feb-17 3:30am

1 solution

Add these js reference to your page
jquery-ui.js
jquery-ui.css

refer this for more info Datepicker | jQuery UI[^]

CDN
jquery-ui.js[^]
jquery-ui.css[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900