3 ms·
You can do this without javascript, you just create a form that sends an XHR PUT/POST request and returns back a 200 response. You can't do much with the respo
by crispyporkbites 7y ago
You can do this without javascript, you just create a form that sends an XHR PUT/POST request and returns back a 200 response.
You can't do much with the response without JS but a single upvote doesn't change anything on the page so there's no need for the reload.
- icebraining 7y ago> a single upvote doesn't change anything on the page Not much, but it does hide the arrows and shows an undo link on the comment.