Comment

Comment by swlkr

Selecting each one of those things and being redirected was killing me.

Here's a shortcut:

problems = document.getElementById('problems'); for(i = 1; i < problems.length; i++) { console.log(problems[i].innerHTML + ': ' + problems[i].value) }

parent swlkr 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton