JQuery - why does live work but click doesn't?
<p>We have a page with this structure:</p>

<pre><code>&lt;script type="text/javascript" src="/js/lots.of.javascript.js"&gt;&lt;/script&gt;
&lt;jsp:include page="html.jsp"/&gt;
</code></pre>

<p>The JavaScript has lots of <code>$(function(){...}</code> blocks.  In one block we tried a <code>$("#mylink").click(...)</code> but this did NOT work.  However the corresponding <code>.live('click'</code> DID work.  Why is this?  </p>

<hr>

<p><strong>Update</strong>: More specifically I am assuming the click and live statements ARE running after the link has been added to the DOM as the link is included in the html.jsp file and the statements are executed in <code>$(function(){...}</code> blocks...  So given this I'm not sure why click wouldn't work...</p>
