+ 1

Javascript datepicker by default showing previous seleted value

When I am click on date input tag, calender is showing previous value there by default. How to make calender have either null value there by default. In date picker value is like that: Dateformet : "mm/dd/yy", ChangeMonth: true, ChangeYear: true, EndDate: new Date(), Autoclose: true

21st Oct 2021, 7:36 AM
Frozen Pearl
Frozen Pearl - avatar
2 Antworten
+ 3
$dt.datepicker('setDate', ''); // '' or null // Keep learning & happy coding :D
21st Oct 2021, 10:59 AM
SoloProg
SoloProg - avatar
+ 1
Your chances for answers may improve if you can add a link to your code inside your thread Description https://www.sololearn.com/post/75089/?ref=app
21st Oct 2021, 7:51 AM
Ipang