title: Javascript: Wait for user interaction, and then resume where you left off?
body: <p>How to code for, wait for user interaction, and then resume where you left off?</p>
  
  <p>Example:</p>
  
  <p>1) Catch the current timestamp<br>
  2) Show a form. User will entering with your information<br>
  3) Resume the code(Catch the current timestamp and do a AJAX request)  </p>