Проблема Jquery/Daterangepicker. Изменение даты разрешено только с помощью кнопки «Применить».Jquery

Программирование на jquery
Ответить
Anonymous
 Проблема Jquery/Daterangepicker. Изменение даты разрешено только с помощью кнопки «Применить».

Сообщение Anonymous »


Im Using Jquery daterangepicker,

I want to cancel the option to set dates if the user not click on the apply button .

Right now, When the user click outside of the box of daterangepicker, the dates is set (I dont want it to happend).

Why I want to do it? Becuse I set an event that when click applybtn , The startDate and endDate will sent to my hidden inputs then It will be easier to work on it with the backend.

I also tried to use AutoApply.. but the problem is that I cannot find any event that detect this auto apply.

I need to detect the event because I want to immidietly sent the data to my hidden inputs.

Thank you In advance for help .


Изображение



Источник: https://stackoverflow.com/questions/644 ... ply-button
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Jquery»