Hi all,
I am using a date range picker of the below version,
* by Scott Jehl, scott@filamentgroup.com
* reference article: http://www.filamentgroup.com/lab/update_date_range_picker_with_jquery_ui/
* demo page: http://www.filamentgroup.com/examples/daterangepicker/
I have implemented my own customized options along with the functions, but i am unable to getting the updated dates with the selections.
{ text: 'Last Month', dateStart: function () { return Date.parse('1 month ago').moveToFirstDayOfMonth(); }, dateEnd: function () { return Date.parse('1 month ago').moveToLastDayOfMonth(); } },
{text: 'This Month Last Year', dateStart: function () { return Date.parse('1 year ago').moveToFirstDayOfMonth(); }, dateEnd: function () { return Date.parse('1 year ago').moveToLastDayOfMonth(); } },
The "lastMonth" option is working fine but when i am selecting the "ThisMonthLastYear" option again the Last month is not working properly.On another click on the "LastMonth" then it's working
Please give suggestions...
Thanks