$(this).each(function() in jquery plugin returns DOM[] object instead of this object
<p>Here's the code of my plugin..</p>

<pre><code>$.fn.slide = function(settings) {

return $(this).each(function() {
    setInterval(function() { $.slider(opt.direction , opt.slideSpeed,this) }
}

jQuery.slider = function(direction,slideSpeed,elm) {
        console.log(elm) - &gt; shows DOMWindow[] window as object 
    }

}


script.js   
$('#container').slide({
    slideAnimationTimeInterval : 6000,
    slideSpeed : 700,

}); 
</code></pre>

<p>console.log(elm) - > shows DOMWindow[] window as object  but i need #container object how can i get it ?</p>
