title: How to change date format using jQuery?
body: <p>I have a date in a format like this <code>fecha2.value = '2014-01-06'</code>, but I want to change the format to this <code>'01-06-14'</code> using jQuery.</p>
  
  <p>How can I do this? Thanks in advance.</p>