title: JQuery datepicker return weeknumber and day of week
body: <p>Im trying to get the weeknumber and the name/shortcut of the weekday according to the chosen date through a JQuery calendar.
  Im not really proficient in JQuery so i can get the weeknumber, but i cant seem to get the name of the day with it.</p>
  
  <p>Could anyone help me out?</p>
  
  <pre><code>  $('#datepicker').datepicker({
      onSelect: function (dateText, inst) {
          $('#weekNumber').val($.datepicker.iso8601Week(new Date(dateText)));
      }
  });
  </code></pre>