Using JQuery, I created a simple date text field with dateFormat: "mmddyy"
. There is no problem in the way it works. But the corresponding database field is of type DATE and stores the value in "YYYY-MM-DD" format. So, when I read the value from database and set it to the date text field, the date format appears to be "YYYY-MM-DD", but not "mmddyy". So, how can we format that database date value in JQuery before setting it to the date field ?
Thanks!
put this code to your
datebox
and add the function like below