title: JavaScript Wait Until Event Is Completed
body: <p>How can I execute a function only after a html element gets value ?</p>
  
  <p>I've got an number input and a getJSON using its value as parameter, but the getJSON loads immediately with the initial value of the number, resulting in a null. How can I avoid that ?</p>