Jquery UI datepicker restricted selection [Working days]
问题 SOLVED: http://jsfiddle.net/YV34P/5/ I am trying to set up datepicker to restrict selection range to 5 days. This is ok and working, but the problem that this days must be 'working days', without Sundays and Saturdays, this means that if I choose Friday 18 May, my limit will be Thursday 24 May. Any idea? I have the following codes: $('.datepicker').datepicker({ dayNames: ["Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sábado"], dayNamesMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi