I have date picker colum in table .I am using easy ui . when I click datepicker it shows default today date in calendar.
But I need to show date value selected which is I have not today date.
How to get this any one suggest me.
Loading
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 attend4days leftRegister
Debashis Panda2 reputationPosted Dec 12, 2015, 11:25 AM EST
Durga VelusamyRank #4,868 · 321 reputationPosted Dec 12, 2015, 4:44 PM EST
And date picker one of column of table. The value of datepicker will change dynamically .
Raja TRank #685 · 3.5K reputationPosted Dec 12, 2015, 5:41 PM EST
When initializing a datepicker, you'd use the defaultDate option:
$("#date").datepicker({
defaultDate: '01/26/2014'
});
Or
when changing the date later, you'd use setDate method:
$("#date").datepicker();
// more code
$("#date").datepicker('setDate', '01/26/2014');
More details check out below links
http://stackoverflow.com/questions/16733395/how-to-setdate-for-inline-datepicker-in-jquery-ui
http://www.aspsnippets.com/Articles/jQuery-UI-DatePicker-Calendar-Example-in-ASPNet.aspx
http://www.aspdotnet-suresh.com/2012/04/jquery-ui-datepickercalendar-example-in.html?m=1
Rajeesh MenothRank #118 · 18.4K reputationPosted Dec 12, 2015, 6:30 PM EST
Durga VelusamyRank #4,868 · 321 reputationPosted Dec 15, 2015, 8:41 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Dec 15, 2015, 8:45 PM EST