Today
Topics
[ log in / sign up]
Briefly
log in / sign up
Today
Topics
@JamesJalaPayneo
@JamesJalaPayneo
Go to
@JamesJalaPayneo
's page.
@JamesJalaPayneo
/ JavaScript Code Snippets
JavaScript
Medium
How to Select All Elements on a Page using JavaScript
If you've used jQuery, the syntax is pretty familiar - but there's no need to load an external library just to select items on a page. Here's how to do it in vanilla JavaScript.
[
customize summary
]
[
...
]