jquery vote up down, request for some help

Posted by Billa on Stack Overflow See other posts from Stack Overflow or by Billa
Published on 2010-12-29T23:38:44Z Indexed on 2010/12/29 23:54 UTC
Read the original article Hit count: 205

Filed under:
|
|

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. alt text

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.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery