N
N
Nikita Shchypylov2016-09-15 11:58:56
JavaScript
Nikita Shchypylov, 2016-09-15 11:58:56

On click update datetimepicker data?

Hello everyone

There is a task - it is necessary that when updating the date of birth, existing data is updated. Changes in the calendar when I change
the month or year are not transferred to the date field until you press a specific number again

Here is the site: https://registration.metro.ua/employee

next to the calendar - it will not pick up what I entered.
Is it possible to somehow implement that when you click next to the calendar, the data is updated?
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fasnet, 2017-07-21
@fasnet

$('#dateFrom').data("DateTimePicker").date(moment(your date).format('DD/MM/YYYY HH:mm:ss'));

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question