title: Datepicker with week number and days
body: <p>I have a datepicker that shows the week of the year.</p>
  
  <p>What I would like to do is enable the week number, so the user can choose the week number or the day.</p>
  
  <p>Example: one user picked the week 32, and other user picked 08/08/2016.</p>
  
  <p>HTML code:</p>
  
  <pre><code>&lt;label&gt;Select Week&lt;/label&gt;
  &lt;input type="text" id="datepicker" name="weekPicker"&gt;
  </code></pre>
  
  <p>Script code:</p>
  
  <pre><code>$(function(){
      $( "#datepicker" ).datepicker({
       showWeek: true,
       firstDay: 1,
       maxDate: 'today'  
    });
  });
  </code></pre>
  
  <p>Working demo:
  <a href="https://jsfiddle.net/iandrabedin/jhducskr/" rel="nofollow">https://jsfiddle.net/iandrabedin/jhducskr/</a></p>