Ajax loads new button, do I need to load a new selector?
<p>Let's say that I'm coding a message system for example. Users can add messages (via AJAX) and next to their messages they've got some buttons. (Edit, Remove, ...)</p>

<p>By loading the page, a few messages are loaded.</p>

<pre><code>&lt;div class="message"&gt;
    &lt;p&gt;blaat&lt;/p&gt;
    &lt;a href="#" class="btnRemove"&gt;Remove&lt;/a&gt;
&lt;/div&gt;
&lt;div class="message"&gt;
    &lt;p&gt;blaat&lt;/p&gt;
    &lt;a href="#" class="btnRemove"&gt;Remove&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>The jQuery selector knows these elements. Because they already exist when I execute the jQuery script. (document.ready)
But when I add another "message", jQuery can't handle the 'remove' link because it's loaded after running the jQuery script.</p>

<p>Can somebody help me out? Thanks in advance!</p>
