jQuery prev() example
This is div 1
div 1 child
This is paragrah 1
This is div 2
div 2 child
This is div 3
div 3 child
prev()
prev('div')
prev('p')
Reset