jquery mouseover and mouseenter calling no.of times - how to fix this?
<p>Hi have a onmouseenter and leave function, but i am not getting proper result from this. once i enter in to 'ul' it display properly, but when i leave the 'ul' it is calling again. how to solve this? i am using this function to make 'dropdown' purpose.</p>

<p>myfunction:</p>

<pre><code>$('ul.select').bind("mouseenter mouseleave",function(){
        $('ul.select ul').stop(1,1).slideToggle('250');
    })

    $('ul.select ul li').on('click', function(){
        var qData = $(this).attr('data-qid');
        var html = $(this).text();
        $('ul.select&gt;li').text(html).attr('data-qid',qData);
        $(this).hide().siblings().show();
        $('ul.select').mouseleave();
    })
</code></pre>

<p>thanks.</p>
