Intercept all current and future links
<p>Just wondering if there is a way with jquery to intercept a link when clicked.  The problem is that some of the links on my page are not loaded when the page is first loaded.  I have a vague recollection of hearing that jquery has a way of intercepting all current and future links.  Here is the code I have.  It works on all links there were there at the start but the links that were loaded onto the page later are not getting intercepted by this function</p>

<pre><code>$('a').trackClick({
        areaClick: function(element) { return getAreaClicked(element); },
        href: function(element) { return getHrefFromElement(element); },
        text: function(element) { return getTextFromElement(element); },
        exceptions: function(element) { return isException(element); }
    });
</code></pre>
