I followed this tutorial:
[login to view URL]
to implement on my site a star rating system. I use the last example in the tutorial, with the "prototype" framework. It works great.
Now, I need some help to improve this system a little by adding some text under the stars (current rating: x.x | your rating: x | Total ratings: xx) that would be updated dynamically (without reloading the page) when a user rate an item. I would also like the rating displayed by the stars to be updated. For instance, if someone rate an item and it bring the rating of the item from 5 to 3, it should be reflected on the stars without having to reload the page.
I already have the script working on my site, and the server code is already written and functional. I only need you to help me make the modifications to the javascript code in order to update the stars and some text under the stars in function of what is returned by the code on the server.
I think that's a fairly basic task for anyone with some experience with the prototype framework (not my case!).