1. Home
  2. Javascript
  3. Select previous sibling
#javascript#select

Selects the previous sibling of the element.

element.previousSibling
copy
Full Javascript cheatsheet
Sitemap Git repository