Hi Philip, I have exactly the same problem. Browser independent. JQuery 1.3.1 and Star Rating 2.61 (as of January 23, 2009).
Also does: <input name="star2" type="radio" class="star"/> <input name="star2" type="radio" class="star"/> <input name="star2" type="radio" class="star" checked="checked"/> <input name="star2" type="radio" class="star"/> <input name="star2" type="radio" class="star"/> ... lead to: star-off, star-off, star-on, star-off, star-off - again happening in a container injected through AJAX. Thanks, Matt On Dec 7 2008, 9:23 pm, Philip Garrett <phi...@pastemagazine.com> wrote: > Hi, > > I'm using the latest available version of thestarratingplugin from > fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery > 1.2.6. > > I'm having a few problems when using thestarratings with ajax. My > ajax form actually replaces the div that contains the stars widget > with a fresh one that represents the changedrating. > > After replacing the widget with $("#container").html(...), these > problems start: > 1. The cancel button disappears > 2. Mouseovers on the stars stop working until you click anotherstar > 3. Mouseovers get stuck (especially when mousing off rightwards) > 4. This error will eventually happen: 'elem.parentNode is > null' [jquery-1.2.6.js (line 1259)] > > I've put together a quick example of the problems > here:http://www.pgarrett.net/stars/ > > Any help you can offer is appreciated. > > Thanks, > Philip