You might encounter that your website wanna to display only the Month and Year selection from Datepicker plugin that provided by JQuery.
Here is the demo:
Here is the step that will teach you how to make use of embedded code of datePicker in the JQuery.
<script type="text/javascript" src="/files/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="/files/jquery-ui-1.8.10.custom.min.js"></script> <script type="text/javascript" src="/files/demo-monthyear.js"></script> <link type="text/css" href=”/files/jquery-ui-1.8.10.custom.css" rel="Stylesheet" />
<style type="text/css"> .ui-datepicker-calendar { display: none; } </style>
That’s it.
[...] JQuery DatePicker display only the month and year dropdown [...]
i want to show all previous day of this month and previous year
You can refer to http://www.wengkien.com/2011/10/05/datepicker-shown-month-year-only-and-full-calendar-within-same-page/ and look for full calendar.
Name (required)
Mail (will not be published) (required)
Website