How to access the different objects using jQuery?
<p>I have developed some code for image sliding in which whenever a mouse event occurs I want the <code>id</code> of the other <code>div</code> except on which the mouse is present.</p>

<p>My code is:</p>

<pre><code>$('#div1,#div2,#div3,#div4,#div5,#div6').mouseover(function () {
    $('#div1,#div2,#div3,#div4,#div5,#div6').css('width', '100px')
    $("." + $(this).data('class')).animate({                   
        'width':"400px",                   
    }, {
        'duration':1500,
        easing:'easeOutBack',
    })
});
</code></pre>
