DateRangePicker 不适用于 "Today" 但适用于其他选项
DateRangePicker not working for "Today" but working with other options
使用 DateRangePicker github
选择日期时,我将其存储在 HTML
中的单独 div
元素中,如 Start Date
和 End Date
。该插件工作正常。我不明白的一件事是
Choose Today
from Dropmenu. Only for the first time its not passing
any data to <div>
. If i choose any other option for the first its
working fine.
查找 JSFiddle here
我想做的是?
在日期选择上将 startdate
和 enddate
写入 <div>
。
只需添加 startdate
和 enddate
即可。工作 JSFiddle
使用 DateRangePicker github
选择日期时,我将其存储在 HTML
中的单独 div
元素中,如 Start Date
和 End Date
。该插件工作正常。我不明白的一件事是
Choose
Today
from Dropmenu. Only for the first time its not passing any data to<div>
. If i choose any other option for the first its working fine.
查找 JSFiddle here
我想做的是?
在日期选择上将 startdate
和 enddate
写入 <div>
。
只需添加 startdate
和 enddate
即可。工作 JSFiddle