title: Is there a way to retrieve the updated datetime when text input changes?
body: <p>I have a datetimepicker and a button.
  The user selects a date time, then hit the button.
  The selected date time is shown in an alert.</p>
  
  <p><a href="https://jsfiddle.net/jeffxiao/rfzm8pyt/" rel="nofollow noreferrer">https://jsfiddle.net/jeffxiao/rfzm8pyt/</a></p>
  
  <pre><code>$(function() {
    $('#datetimepicker1').datetimepicker();
  
    $('#buttonGo').click(function() {
        var moment = $("#datetimepicker1").datetimepicker("date");
        alert(moment.format('MMMM Do YYYY, h:mm:ss a'));
    })
  });
  </code></pre>
  
  <p>The question is, if the user changes the text for the input, instead of choosing from datetimepicker, is there a way to retrieve the updated datetime (in the text)?</p>
  
  <p>My test shows the default is to retrieve the selected in the picker, NOT the updated text in the text box.</p>