title: how to get getDate, getYear, getMonth jquerymobile datepicker?
body: <p>I am trying to get date,month and year from jquerymobile datepicket but not getting it though, see below html code which I have used but not getting through.</p>
  
  <p>I got to know that jquery mobile is a wrapper on jquery ui and datepicker is used as date so tried the same but no luck, anyone can please help?</p>
  
  <p>When I debug in browser it fails with undefined error.</p>
  
  <p>like for jquerymobile wrapper:
  <a href="https://github.com/arschmitz/jquery-mobile-datepicker-wrapper" rel="nofollow">https://github.com/arschmitz/jquery-mobile-datepicker-wrapper</a>
  api :
  <a href="http://demos.jquerymobile.com/1.4.1/datepicker/" rel="nofollow">http://demos.jquerymobile.com/1.4.1/datepicker/</a></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;title&gt;Date Picker&lt;/title&gt;
  
      &lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css"&gt;
      &lt;script src="http://code.jquery.com/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
          &lt;div data-role="main" class="ui-content"&gt;             
              &lt;label for="date"&gt;Date of Birth:&lt;/label&gt;
              &lt;input type="date" name="dateob" id="dateob" value=""&gt;
              &lt;button&gt;Submit&lt;/button&gt;
          &lt;/div&gt;
  &lt;/body&gt;
  &lt;script&gt;
  $(document).ready(function(){
    $("button").click(function(){
      var dateob = $("#dateob").val();
      var first = $("#dateob").date("getDate");
      alert(first);
    });
  });
  &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks.</p>