title: How to make a custom date display text in the input on a jQuery datepicker?
body: <p>im having trouble with the following: I have a jQuery datepicker which is bound to a <code>&lt;input&gt;</code> field. What i want is, instead of the standard date display in the input field "MM/dd/yyyy" to be able to display the start and end of the week of the currently selected day, for example</p>
  
  <p>if 25th of Decemeber 2012 is selected, 
  then in the input field i would like to show "Dec.24 - Dec.30"</p>
  
  <p>Calculating the start/end week days and the text formating is not a problem and i already have it.
  The problem i'm having is when trying to set the input field's value to the custom text representation using</p>
  
  <pre><code>$("#datepickerInput").val('custom text')
  </code></pre>
  
  <p>then the datepicker date is set to todays date, instead of preserving its previously set value.</p>
  
  <p>is there a way to achieve this somehow?</p>
  
  <p>thanks</p>