6 ms·
So without JS enabled you can't vote?
by mchahn 11y ago
So without JS enabled you can't vote?
- jey 11y agoNo, you just can't vote without triggering a page navigation. (It's probably HTTP POST with redirect.)
- z3t4 11y agoYou can vote without JavaScript! This is the old-school way; you first make your site work without JavaScript, then add JS to enhance it.
- gordonzhu 11y agoWithout JS, return false from the vote function wouldn't happen, so I guess clicking upvote would follow node.href, which would send the vote to the server. It would work anyway, there would just be a redirect that would trigger a page refresh. Pretty cool. Just tried it out and confirmed.
- mchahn 11y agoI'm getting clobbered with downvotes. I need to ask less stupid questions. The problem is that I don't really have a way to know they are stupid.
- krapp 11y agoThe downvotes are how you know.
- mchahn 11y agoIt would be great if I could delete a post and get all the points back. (grin)
- hk__2 11y agoThat would make the whole downvote system useless. Just post spam comments everywhere then delete them after a day and you’ll always have a positive karma.
- jewbacca 11y ago> That would make the whole downvote system useless This would not remotely "make the whole downvote system useless". The primary use of the voting system here is to sort out discussion by subjective value. That would only be very indirectly affected (through the very distantly secondary use of karma to confer downvoting ability). If anything, it would debatably enhance the primary use of the downvote system, by giving authors of unpopular comments an incentive to remove from the discussion what the community has judged to be noise. Though I would personally hate that, as a fundamentalist anti-deletionist, and as a frequent dissenter from this community's judgements of value.
- mchahn 11y agoOk, I"m facing an armageddon of downvotes but why the heck was this downvoted? He made a point, that while arguable, is a valid comment. Maybe the discussion of downvoting is bringing more downvotes. Jeeez. Edit: My upvote brought him back to zero, for now.
- Retra 11y agoIt may be because this whole discussion is off-topic and not very productive.
- DonHopkins 11y agoSeems on-topic to me. You can't call Godwin's Law when the discussion is really about Hitler himself, and you can't claim that discussing how voting works is off-topic when the discussion is about how the voting button works.
- pacomerh 11y agoThat was a legitimate question. I think the problem where the down-voters not you. To answer the question. Yes you could still vote, but you would need to refresh the page to show the current state. The JS is doing it on the fly.
- awqrre 11y agoDisable JS and try it...
- DonHopkins 11y agoMaybe people were trying to be helpful by disabling JavaScript and clicking on the down arrow next to your message in order to experimentally determine what the answer to your question was.