The javascript is :
The console error is : Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Jun 9, 2015, 1:29 AM EDT
Sanjay SabariyaRank #2,262 · 623 reputationPosted Jun 9, 2015, 12:23 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Jun 9, 2015, 12:26 AM EDT
link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> script src="//code.jquery.com/jquery-1.10.2.js">script> script src="//code.jquery.com/ui/1.11.4/jquery-ui.js">script> link rel="stylesheet" href="/resources/demos/style.css">$(document).ready(function () {
alert('hi');
$("#txtDateDOC").datepicker({
changeMonth: true,
changeYear: true,
hideIfNoPrevNext: false
});
});
Dipak Shinde5 reputationPosted Jun 9, 2015, 1:20 AM EDT