Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

126
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!