rayzorj3lade — 2011-05-11T06:16:34-04:00 — #1
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?
paul_wilkins — 2011-05-11T09:01:14-04:00 — #2
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>')
.text([s]<font color='"red"'>rating</font>[/s]<font color='"green"'>this.value</font>);
rayzorj3lade — 2011-05-11T09:03:07-04:00 — #3
Thankyou paul, I'll give it a try