1. Home
  2. ›
  3. Javascript
  4. ›
  5. Select previous sibling

Selects the previous sibling of the element.

#javascript#select
element.previousSibling
copy
Full Javascript cheatsheet