jQuery - how to write 'if not equal to' (opposite of ==)
<p>I need to reverse of the following code. How can I make the animation run if the width is NOT 500px. </p>

<pre><code>$(".image-div").not(this).each(function() {
        if ($(this).css('width') == '500px') {
            $(this).animate({
                    width: '250px'
                }, 500, function() {
                // Animation complete.
            });
        }


    });
</code></pre>

<p>In other words, what the opposite of this?: ==</p>

<p>Thanks  </p>
