Widgets > wijcalendar > wijcalendar How To > Display Month, Day, and Year |
To display the calendar month day and year, set the titleFormat option to “MM-yyyy”, like the following:
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#calendar1").wijcalendar(
{ easing: "easeOutExpo", titleFormat: "MM-yyyy" }
);
});
</script>
<div class="main demo">
<!-- Begin demo markup -->
<div id="calendar1"></div>
<!-- End demo markup -->
<div class="demo-options">
<!-- Begin options markup -->
<!-- End options markup -->
</div>
</div>
This topic illustrates the following:
The calendar day month and year is displayed on the calendar title.