Has anybody tried manipulating the DatePicker in Joomla? For example, In my datepicker, I am only able to select the date not greater than or equal than the current date, or from the datepicker, based on the current date, I will subtract days. For example, today is March 2, 2015. I will subtract 10 days from it, Maximum selectable date is February 23, 2015.
Does joomla have something to do with this? Or is this achievable in javascript?
I have followed this link from jQuery :
http://jqueryui.com/datepicker/#min-max
I tried this code for the datepicker after reading the guide from the link above but to no avail, it does not work. It's really frustrating. This is a basic functionality that Joomla should have.
jQuery(function() {
jQuery( ".datecalendar" ).datepicker({ minDate: -20, maxDate: "+1M +10D" });
});