Bind jQuery element break if the element is not found on the page?
<p>what happens if the element I am binding jQuery code to is not found on the page? 
Does the previous binded code breaks? </p>

<p>Let me explain it with a sample. I have the following code inside my page:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function() {
    $('.deleteMemo').live('click', function() {
        $.ajax({
            [ajax call omitted for brevity]
        });
    });

    $('.markAsViewed').live('click', function() {
        $.ajax({
            [ajax call omitted for brevity]
        });
    });
});
&lt;/script&gt;
</code></pre>

<p>Now, depending on the page status in the page there could be:</p>

<ul>
<li>Only elements with "deleteMemo" class</li>
<li>Only elements with "markAsViewed" class</li>
<li>Both</li>
</ul>

<p>I am experimentig that, in the first case (only "deleteMemo" elements), the jQuery code does'nt get called at all. I still have not did a try with the other cases but I have triple checked the code and even looked at it with fiddler.</p>

<p>Any suggestion?</p>
