trying to hide all elements with a particular class, except the last one...

trying to hide all elements with a particular class, except the last one...

Hi,

I'm trying to hide every element with a particular class, except for the last instance of it. I am currently trying this:

  1. $('div.postNavStuff').not(':last').hide();

but it does not work. The thing is, it works with :first, :even, and :odd. Why does it not work with :last? 

Thank You

Nadine.