Is there any equivalent in Prototype for the jQuery closest function?
http://api.jquery.com/closest/
thanks
.next('.className') or .next('divId')
.next('.className')
.next('divId')
There is also .previous(), .down() and .up(), depending on where you're looking.
.previous()
.down()
.up()