title: Javascript time counter for calling ajax
body: <p>I have a number of different form elements. When any of the form elements have their value changed, I need to make an ajax call 500ms after the change.</p>
  
  <p>However, should another form element have its value changed then I would like to reset the timer to 500ms, thus avoiding multiple Ajax requests for a series of changes that happen within 500ms of each other.</p>
  
  <p>Is there a JavaScript or jQuery solution to this requirement?</p>