title: How to convert jQuery date picker to select only month and year?
body: <p>How to convert jQuery date picker to select month and year only?. I tried it using date format, it working but show dates too. I am trying a way to select month and year only</p>
  
  <p>I wrote code,</p>
  
  <pre><code>&lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"&gt;
  &lt;script src="http://code.jquery.com/jquery-1.9.1.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="/resources/demos/style.css"&gt;
  &lt;script&gt;
     $(function() {
         $( "#datepicker" ).datepicker({dateFormat: 'MM yy'});
     });
  &lt;/script&gt;
  &lt;input type="text" id="datepicker"&gt;
  </code></pre>