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

194
Views
How can I get the date format from an initialized Bootstrap datepicker?

I have the following bootstrap datepicker:

<input type="dtpicker" id="abc" name="abc" value="26-05-2022">

$('input[type="dtpicker"]').datepicker({
    format: "dd/mm/yyyy",
    clearBtn: true,
    autoclose: true,
    orientation: "bottom right",
    autoUpdateInput: true
});

How can I get "format" option by code (either Javascript or jQuery)?

Generally, how can I get datepicker options?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

$(element).data().datepicker.o.format

See How to access properties and functions of a jQuery plugin.

about 4 years ago · Juan Pablo Isaza Report
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!