hola a todos,ya puse mi problema antes pero no hubo repuestas ojala ahora alguien pueda ayudarme.
tengo en un sistema implementado el jscalendar-1.0 y
necesito que al aparecer el calendario las fechas anteriores a la fecha actual aparezcan como disabled, para que el usuario no las pueda seleccionar.
lo que esta en azul, deja disabled los fines de semana solamente:
Código:
<script type="text/javascript">
Calendar.setup({
inputField : "f_date_f", // id of the input field
ifFormat : "%Y/%d/%m", // format of the input field (even if hidden, this format will be honored)
displayArea : "show_f", // ID of the span where the date is to be shown
daFormat : "%A, %B %d, %Y",// format of the displayed date
align : "Tl", // alignment (defaults to "Bl")
dateStatusFunc : function (date) { // disable weekend days (Saturdays == 6 and Subdays == 0)
return (date.getDay() == 6 || date.getDay() == 0) ? true : false; }
});
</script>
yo necesito modificar solo esa parte para que los dias anteriores a hoy aparezcan disabled. se ve que no tiene que ser complicado pero a mi no se me ocurre que poner.
alguien que me ayude porfavor! Salu2
AQUI EL LINK PARA BAJARLO