 <p>Pretty much you want two different images of a star. One image is the plain white star and the other is the yellow (or whatever color) star that indicates it has been favorited. On the click event of the image, you just check which image is the src and then change it accordingly to match the necessary status of favorited or not. Then you run an ajax call to actually save the status to the database.</p> <ul> <li>The closest tutorial I found so far: <a href="http://www.9lessons.info/2009/09/favourite-rating-with-jquery-and-ajax.html" rel="nofollow noreferrer">http://www.9lessons.info/2009/09/favourite-rating-with-jquery-and-ajax.html</a></li> </ul>