title: JQuery Mobile UI DatePicker Change Date Format
body: <p>I am trying to change the date format in the JQM UI Datepicker.</p>
  
  <p>It's got an input which display's the dates as you change them.</p>
  
  <p>I need it to display in dd/mm/yyyy format.</p>
  
  <p>Can anyone help please?</p>
  
  <p>UPDATE:</p>
  
  <p>I'm trying this, but nothing's changing:</p>
  
  <pre><code>&lt;script&gt;
    //reset type=date inputs to text
    $( document ).bind( "mobileinit", function(){
      $.mobile.page.prototype.options.degradeInputs.date = true;
  
    });   
  &lt;/script&gt;
  
  &lt;script language="javascript"&gt;
      $(document).ready(function() {
          $.datepicker.formatDate('dd/mm/yyyy'); //ADDED HERE
          $("input[type='submit']").click(function(e) {
              e.preventDefault();
          });
      });
  
  &lt;/script&gt;
  </code></pre>