Alright, here\'s a quick explanation of what I am doing: I have a website where people can vote UP or DOWN to a \"champion.\" These champions start with 100 health. If you were
All of this is just database queries that are returned with JSON. Maybe have two actions on the backend - vote and refresh.
In the vote method, first check to see the voter's current count. If there are votes left, have the champion's score go up or down.
Then, return this array:
In the refresh method (which would poll the backend server every x number of seconds or minutes) return the number of current votes.
A fairly easy implementation of ajax.
Hope this helps!
EDIT: AJAX learning links
With jQuery, it is super, super easy. Here's how: