Hi,

The following set my two input range to today's date:

 $("#fStartDate, #fEndDate").datepicker("setDate", "null", "null");

However if I try to set the range to the last week, by setting the
first input to -1w and the next one to today's date :

$("#fStartDate, #fEndDate").datepicker("setDate", "-1w", "null");


This doesn'  t work : both input are set to today's date....

Am I doing something wrong ?

Thanks

Reply via email to