title: With JEasyUI how to get a real JavaScript Date from DateTimeBox and TimeSpinner?
body: <p>Simple HTML code,</p>
  
  <pre><code>&lt;div class="easyui-datebox" style="width:250px;height:30px;"&gt;&lt;/div&gt;
  &lt;div class="easyui-calendar" style="width:250px;height:250px;"&gt;&lt;/div&gt;
  &lt;div class="easyui-timespinner" style="width:250px;height:30px;"&gt;&lt;/div&gt;
  &lt;div class="easyui-datetimebox" style="width:250px;height:30px;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Callback functions on them, for when they change,</p>
  
  <pre><code>function setText(raw, parser) {
      var date = '';
      if(parser) {
      try{
          date = parser(raw);
      }
      catch(e) {
          date = e;
      }
    }
  
      $('.easyui-textbox').textbox(
      'setText',
        'Raw: ' + raw + ', Parsed: ' + date + '\n' + $('.easyui-textbox').textbox('getText'));
  }
  
  $('.easyui-datebox').datebox({
      onChange: function(newVal) {
      setText(newVal, $.fn.datebox.defaults.parser);
      }
  });
  
  $('.easyui-timespinner').timespinner({
      onChange: function(newVal) {
      setText(newVal, $.fn.timespinner.defaults.parser);
      }
  });
  
  $('.easyui-datetimebox').datetimebox({
      onChange: function(newVal) {
      setText(newVal, $.fn.datetimebox.defaults.parser);
    }
  });
  
  $('.easyui-calendar').calendar({
      onChange: function(newVal) {
      setText(newVal);
      }
  });
  </code></pre>
  
  <p>With <code>datebox</code>, its <code>$.fn.datebox.defaults.parser</code> works as expected, with <code>calendar</code>, it does the work for you, and it's already a date in the callback, as well as in its <code>current</code> property.</p>
  
  <p>But with both <code>datetimebox</code>, and <code>timespinner</code>, we get an obscure error in <code>jquery.easyui.min.js</code>,</p>
  
  <pre><code>TypeError: $.data(...) is undefined
  </code></pre>
  
  <p>The documentation isn't great here, and I can't find an uncompressed version of <code>EasyUI</code> to get a handle on exactly what's going wrong in the parser.</p>
  
  <p>So, as the title goes, how do I get the real date from EasyUI's <code>DateTimeBox</code>, and <code>TimeSpinner</code>, just like I'm able to get with <code>Calendar</code> and <code>DateBox</code>?</p>