jquery vote up down, request for some help
- by Billa
I want to make some changes in the following piece of code. The demo of the code can be seen here.
http://cyberbuff.noadsfree.com/lab/reddit_votes/
The above example shows calculated number of votes (vote ups - votes down). And when you click on any thumbe, it disappears the thumbs and shows the updated votes. I want to make changes that in begining it shows vote up and vote down separately (which are stored in database separately). and after thumb up or down is pressed, it should not remove the thumbs, but it should show the updated vote up and down separatetly. As shown in the image below.
Here are pieces of code:
Main page having html/CSS and jquery code.
http://pastebin.com/RC6dj6N5
vote processng code:
http://pastebin.com/heszKyDc
PS. I have tried to change by myself but I could not do. Any help will be much appriciated. Thanks.