title: Can i use promise/a for event handling?
body: <p>I want to turn </p>
  
  <pre><code>$(button).on("click",function(e) {
      $.ajax(url, function(data) {
          handle(data);
      });
  });
  </code></pre>
  
  <p>into:</p>
  
  <pre><code>$(button).on("click")
  .then(function(e) {
      return $.ajax(url);
  })
  .then(function(data) {
      return handle(data);
  });
  </code></pre>
  
  <p>But <em>a promise can only resolve once</em> while click event will be triggered again and again, that make things impossible.</p>
  
  <p>Any elegant solutions?</p>