title: jQuery: datepicker, alert the dayname of the selected
body: <p>How can i alert the selected days name? Example 'Monday'.</p>
  
  <p>So when you pick 7th june 2011 it will alert "Tuesday"</p>
  
  <pre><code>&lt;script&gt;
  $(function() {
      $( "#date" ).datepicker({ 
       dateFormat: 'dd/mm/yy',
       onSelect: function(dateText, inst) {
      // how can i grab the day name of the day, example "Monday" and alert it out?
      // alert( ? );
       }
      });
  });
  &lt;/script&gt;
  </code></pre>