![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/09/2009, 14:50
|
![Avatar de mayid](http://static.forosdelweb.com/customavatars/avatar293515_6.gif) | Colaborador | | Fecha de Ingreso: marzo-2009 Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 10 meses Puntos: 101 | |
Respuesta: Obtener elemento anterior apartir del elemento que tengo. Yo nunca lo use, pero que tal esto?
var m = document.getElementById("palabra").previousSibling
y
nodo=nodo.nextSibling
o tambien seleccionando elementos por className. |