This version is old school.
Please find jQuery plugins on npm.
jCal
jCal is a simple date-picking plugin that doesn't rely on jQuery UI. By default, it provides buttons for clearing the input and selecting months without selecting a specific day.