I am using jQuery date picker to display the calendar all over my app. I want to know if I can use it to display the month and year (May 2010) and not the calendar?
Javascript – jQuery UI DatePicker to show month year only
datejavascriptjqueryjquery-uijquery-ui-datepicker
Related Topic
- Javascript – Setting “checked” for a checkbox with jQuery
- Javascript – How to know which radio button is selected via jQuery
- Javascript – How to loop through or enumerate a JavaScript object
- Javascript – $(document).ready equivalent without jQuery
- Javascript – How to check whether a checkbox is checked in jQuery
- Javascript – event.preventDefault() vs. return false
- Java string to date conversion
Best Answer
Here's a hack (updated with entire .html file):
EDIT jsfiddle for the above example: http://jsfiddle.net/DBpJe/7755/
EDIT 2 Adds the month year value to input box only on clicking of Done button. Also allows to delete input box values, which isn't possible in above field http://jsfiddle.net/DBpJe/5103/
EDIT 3 updated Better Solution based on rexwolf's solution down.
http://jsfiddle.net/DBpJe/5106