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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeesh MenothPosted Dec 16, 2015, 1:45 AM
Durga VelusamyPosted Dec 16, 2015, 1:41 AM
Rajeesh MenothPosted Dec 12, 2015, 11:30 PM
Raja TPosted Dec 12, 2015, 10:41 PM
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
Durga VelusamyPosted Dec 12, 2015, 9:44 PM
And date picker one of column of table. The value of datepicker will change dynamically .
Debashis PandaPosted Dec 12, 2015, 4:25 PM