Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

136
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda