jQuery slideToggle() fonction de rappel

Voici le jQuery slideToggle fonction:

$('.class').click(function() {
    $(this).parent().next().slideToggle('slow', function() {
        //how can I access $('.class') that was clicked on
        //$(this) returns the $(this).parent().next() which is the element
        //that is currently being toggled/slided
    });
});

Dans la fonction de callback j'ai besoin de l'accès actuel .la classe de l'élément (l'un étant cliqué sur). Comment puis-je le faire?

InformationsquelleAutor Richard Knop | 2009-08-07