I am using a date-time plugin for Joomla and I want the date field "display only", so that the customer cannot enter his own date, but has to choose from the calender pop-up. How can I do this?
The jQuery looks like this:
jQuery("#delivery_date").datepicker({
minDate: "1",
<!-- changed by jack -->
maxDate: "+2W",
firstDay: 1,
changeFirstDay: false,
dateFormat: "dd-mm-yy",
onSelect: function(dateText) {
jQuery.cookies.set("delivery_date",dateText);
jQuery.cookies.set("delivery_time",dateText);
jQuery.cookies.set("delivery_totime",dateText);
},
beforeShowDay: blockDays
});