How to attach Event Listeners to only newly created elements?
<p>When I fire a function I want it to apply listeners just to elements I pass, particular <code>this</code> jQuery element. </p>

<pre><code>addEventListeners(this);

function addEventListeners(el) {
        $(el).mouseenter(function() { 
            $(this).stop(true,true).switchClass("", "HIGHLIGHT", 400, "easeInOutQuad");
        });
        $(el).mouseleave(function() { 
            $(this).stop(true,true).switchClass("HIGHLIGHT", "", 400, "easeInOutQuad");
        });
    }
</code></pre>

<p>It fires from AJAX result:</p>

<pre><code>    $.post(url,{el:wartosc_inputa},function(returned) {
        var data = $(returned).hide(); 
        $("#listaElementow").prepend(data); 
        data.slideDown();
        loading();
        addEventListeners(this);
    });
</code></pre>

<p>How to code it good? This code is not passing variables from <code>addEventListeners(this);</code> to function.</p>
