Hello,
I have this in my javascript file:
$("#birthdate").datepicker({
changeMonth: true,
changeYear: true,
altFormat: 'dd-mm-yy',
altField: '#birthdate',
});
I have various pages which have fields that need a datepicker. Sometimes even more then one datepicker on a page. How can I be sure that this is also going to work for a field that has for example class name "alternateDate"?
I tried
$("#birthdate #alternateDate").datepicker({
But that's not going to work.
Any idea's?