![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/01/2013, 12:31
|
![Avatar de djaevi](http://static.forosdelweb.com/customavatars/avatar172061_1.gif) | | | Fecha de Ingreso: marzo-2007 Ubicación: Moreno, Buenos Aires
Mensajes: 400
Antigüedad: 17 años, 11 meses Puntos: 47 | |
Respuesta: [jQuery] Acceder al elemento padre al actual Se hace con parent();
Código HTML:
Ver original<a href="#" onclick="alert($(this).parent().attr('class'));"> Nombre </a>
Saludos! |