Datepicker within collapsible
Hi Aeneas,
Please use following code:
pre
//This is a date object to set value. Change it with date you need.
var date = new Date();
//Note: you need to replace "mobiledatepicker_2" with your datepicker component value.
var dateValue = $.datepicker.formatDate(Appery("mobiledatepicker_2").getAttr("dateFormat"), date);
//Note: you need to replace "mobiledatepicker_2" with your datepicker component value.
Appery("mobiledatepicker_2").setAttr("defaultDateValue", dateValue);
/pre
Regards.