Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aspi on Jul 17, 2008 12:45
open dhtmlx forum
dhtmlXCalendar

I don't understand clealyr :)

here is my code:

  1. function waranty_last(date) {
      document.getElementById('warantylast').value = cal_warantylast.getFormatedDate(null,date);
      document.getElementById('cal_warantylast').style.display = 'none';
      dateFrom = new Date(date);
      var nextdate = date.setDate(date.getDate+1);
      document.getElementById('insurance_firstdate').value = cal_jotallasutolso.getFormatedDate(null,nextdate);
      return true;}

i would like this output if warantylast=2008.07.13

                                   insurance_firstdate = 2008.07.14

 

thanks

Answer posted by Support on Jul 18, 2008 03:38
Please check attached sample
Attachments (1)