• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

150
Vistas
Pikday enable days that are disabled by weekdays

I wonder if there is a simple solution to activate some faction days in the pikaday datepicker.

I blocked all Tuesdays Wednesdays, Thursdays and Sundays with date.getDate. However, I do not want to block 5 vacation days if they fall on Tues, Wed, Thurs or Sundays, they will also be blocked. Can I include an exception in the javascript?

I understand that with jquery and moment there is a solution just like creating an array in php and removing these dates and then presenting them. With that, the advantage of a date picker of only 5k is gone.

I like php but javascript is not my thing.

Does anyone see a solution ?

disableDayFn: function (date) { return date.getDay() === 0 || date.getDay() === 2 || date.getDay() === 3 || date.getDay() === 4 ; }
about 3 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda