Do stuff on :not class current.

Do stuff on :not class current.

    I know this should be simple, but I don't know the correct way. If a link does not have the class current when clicked on, I want to run some code. I also want to make sure the default behavior is disabled on all links. This is what I have.

    1. $("#nav a").click( function ( event ) {
    2. event.preventDefault();
    3. $("#nav a:not(.current)", function(){
    4. alert("Do Stuff");

    5. });
    6. });