JQuery - Add a mouse-event listener to a class
<pre><code>&lt;div class="teamMain"&gt;
    &lt;div class="teamScroll"&gt;
        PRIMO
    &lt;/div&gt;

    &lt;div class="teamScroll"&gt;
        SECONDO
    &lt;/div&gt;

    &lt;div class="teamScroll"&gt;
        TERZO
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>And i'd like to add a sort of listener (such mouseover or mouseout) for each of this div, by taking the class <em>teamScroll</em> as reference.</p>

<p>I know there is <em>delegate</em> method, but it works only with <strong>jquery-1.4.2</strong> version (which, as posted time ago for another <a href="http://forum.jquery.com/topic/jquery-problem-with-last-version-and-ie" rel="nofollow">problem</a>) broke some functions with IE6.</p>

<p>There is other way to do this without put N listener for N div?</p>

<p>Cheers</p>
