Execute live function
<p>I've got an ajax call I want to execute for 2 events, whenever the document is loaded and whenever foo-live-event is clicked. What is the best way to do this? </p>

<pre><code>$(document).delegate(".foo-live-element", "click", function() {
  $.ajax({
    //ajax call
  });
});
</code></pre>
