Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

127
Vistas
Datetimepicker is not getting applied to my class

My UI looks like this:

<input type="text" name="cabname" class="border inputpicker timepicker timepicker-no-seconds readonly-cursor-allowed ml-0" readonly>'

I have two buttons in my UI for setting 'min' and 'max' time. If the user clicks the 'min' button the following function will be triggered:

function toggle_check_uncheck(element) {
  $('input[name$="cabname").addClass('.mintime');
}

However the mintime class is not being applied to my UI timer. On inspection mintime is attached to the UI class but it does not get applied.

$('#mintime').datetimepicker({
  minTime: '12:00'
});

It is not getting applied to my inputpicker class:

$(".inputpicker").datetimepicker({
  ignoreReadonly:true,
  format: 'LT',
  defaultDate: getDate() + ' 00:00'
});
about 4 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 Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda