[jQuery] clarification

[jQuery] clarification


I'm just starting with jquery and I guess I'm missing an important
piece because my first tries aren't working:
$('.switch :radio', this).each(function(){
        $(this).click(
            function(event){
                alert($(this).parent(".switch").className);
            });
        });
//when I click the radio, find the .switch parent and alert it's
classes.
Do regular DOM methods and properties work on jquery objects?