Sitepoint jQuery Star Rating doesn't work?


I’m trying to implement the star rating widget from the jQuery Novice to Ninja book - everything works fine visually but the underlying radio buttons are not being updated with a ‘clicked’ setting when the stars are selected.

This is even the case in the demo files that came with the book!!!

Has anyone got a link to a properly working implementation?

I believe that if you set the link text to the option value, instead of the rating, that that will fix the problem.

var $item = $('a href="#"></a>')

Thankyou paul, I’ll give it a try :smiley: