Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi

cyrilletuzi/list.js

Created Jan 29, 2017
Embed
What would you like to do?
/* jQuery */
$('#nav-list>li');
/* JavaScript */
let elements = document.querySelectorAll('#nav-list>li');
for (let element of elements) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment