You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.
How can I get null when no date is picked ?
Currently, the getDate method returns today's date when no date is picked.
Same when I clear the date by hiting backspace key...
The text was updated successfully, but these errors were encountered:
varpicked=false;$().on('pick.datepicker',function(){picked=true;});$('#my_button').click(function(){if(picked){console.log($().datepicker('getDate'));}else{console.log('PICK A DATE!');}});
How can I get null when no date is picked ?
Currently, the getDate method returns today's date when no date is picked.
Same when I clear the date by hiting backspace key...
The text was updated successfully, but these errors were encountered: