2 ms·
> Looking at HN, which uses js for voting, can be replaced with the olde-school form submission method (at increased page reloads etc), so clearly JS is doing u
by chrismorgan 6y ago
> Looking at HN, which uses js for voting, can be replaced with the olde-school form submission method (at increased page reloads etc), so clearly JS is doing us a favor.
The JS here is is an optional enhancement that does the vote in the background. Disable JavaScript and voting still works, it just causes the page to reload. (Aside: it works by using links, but forms so that it’s a POST would be better.)