Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

saving datepicking selected data in local storage variable

1) It seems there is no way to change date format
2) Use this code on screen Load to set current date in Input component:

codevar currDate = new Date();
var year, month, day;
year = currDate.getFullYear();
month = currDate.getMonth()+1;
if (month<10) {
month = '0' + month;
}
day = currDate&#46;getDate();
if (day<10) {
day = '0' + day;
}
Tiggzi("mobiletextinput1_17")&#46;val(year + '&#46;' + month + '&#46;' + day);/code

This should also help http://dev.jtsage.com/jQM-DateBox/

Also could you please share your project with support@tiggzi.com? So we can check and help you with DatePicker component because it works for me. Maybe there is some error in your project.

Return to “Issues”