SyntaxFix
Write A Post
Hire A Developer
Questions
Try this way it will hide the calendar and show year only
$(function() { $( "#datepicker" ).datepicker({dateFormat: 'yy'}); });?
CSS
.ui-datepicker-calendar { display: none; }
DEMO ?