JavaScript calendar

JavasScript calendar with year month only selection picker.

Javascript year month picker



<html>
<script src="https://jsuites.net/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v3/jsuites.css" type="text/css" />

// JavaScript Calendar Example

<input id='calendar'>

<script>
jSuites.calendar(document.getElementById('calendar'), {
    type: 'year-month-picker',
    format: 'MMM-YYYY',
    validRange: [ '2020-02-01', '2022-12-31' ]
});
</script>
</html>