$('#date1, #date2', #date3').datepicker({ autoclose: true, todayHighlight: true, format: 'dd-M-yyyy' });