Response title
This is preview!
Hi Chris,
You just need to add the js and the css to your file AFTER the jquery ui datepicker. This will simply extend the datepicker, so there are no extra functions to call.
I've just addd this to the readme file:
Example Add these two lines to your html after <script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script>: <script type="text/javascript" src="jQuery-UI-Datepicker-MonthYearPicker-Addon/jquery.ui.datepicker.monthyearpicker.js"></script> <link type="text/css" href="jQuery-UI-Datepicker-MonthYearPicker-Addon/jquery.ui.datepicker.monthyearpicker.css" rel="stylesheet" /> That's it, your datepickers will show a nice month and year picker when clicking on the month year heading (e.g. September 2012).
thanks for the feedback and have fun using it
If you see the normal datepicker you can click on the month and year heading (September 2012) to get to the month picker. The heading changes to show only the year, when you click that you get to the year selection. I think this is similar to how the windows 7 calendar works.While I expect to see your specific month-year calendar, I still see the normal jquery ui datepicker.
I did include the files all right but I'm getting this error when clicking the month
Line: 1
Error: 'DP_jQuery_undefined' is undefined
Any thoughts ?
Thank you very much it works like a charm ! This extension is very neat.
© 2013 jQuery Foundation
Sponsored by and others.