Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

154
Views
Using datepicker.js in Script Editor web part on Sharepoint 2013 does not allow selecting dates

I have written a simple html page in Sharepoint 2013 with a text input that is meant to use datepicker.js. When I click into the text box, the calendar correctly pops up, but no dates are selectable. This exact code works when I simply open it in the browser outside of SharePoint.

I have tried using body onload, making sure the datepicker is initialized in an explicit function.

<link rel="stylesheet" href="/sites/###-###-###-###/###/SiteAssets/js/datepicker.material.css">
<script src=/'sites/##-###-###-###/###/SiteAssets/js/datepicker.js'></script>
<script>
function initialize(){
var datepicker = new Datepicker('#datepicker');
}
</script>
<body onload="initialize()">
<form>
    <input type="text" id="datepicker"></input>
</form>
</body>

The calendar pops up and shows today's date highlighted, but I am unable to select any date at all. Any ideas are greatly appreciated!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!