Hi,
I am using jquery datepicker but when i click textbox then refresh textbox and show error on "The field Birth Date: must be a date." these all operation is first time...but when i select second time in same date then remove the issue.
how to resolved.....
plz help me
thank in advance

Suvendu Shekhar GiriRank #546 · 4.4K reputationPosted Nov 23, 2016, 9:28 PM EST
Brijesh RathorRank #7,391 · 242 reputationPosted Nov 23, 2016, 9:17 PM EST
link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> link rel="stylesheet" href="https:/resources/demos/style.css"> script src="https://code.jquery.com/jquery-1.12.4.js">script> script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js">script>Maharudra GadekarRank #5,163 · 309 reputationPosted Nov 28, 2016, 12:36 AM EST
$("#stdfrm_birthdate").datepicker({
dateFormat: "dd/MM/yy",
showOn: "button",
buttonImage: "../Images/calendar1.gif",
buttonImageOnly: true,
buttonText: "Select date",
showAnim: "slide",
maxDate: 0,
yearRange: "-60:+0"
});
});
Maharudra GadekarRank #5,163 · 309 reputationPosted Nov 28, 2016, 12:38 AM EST
$("#stdfrm_birthdate").datepicker({
dateFormat: "dd/MM/yy",
showOn: "button",
buttonImage: "../Images/calendar1.gif",
buttonImageOnly: true,
buttonText: "Select date",
showAnim: "slide",
maxDate: 0,
yearRange: "-60:+0"
});
});
Brijesh RathorRank #7,391 · 242 reputationPosted Nov 28, 2016, 1:28 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts