diff --git a/jquery.rating.js b/jquery.rating.js index 394d2eb..d039061 100644 --- a/jquery.rating.js +++ b/jquery.rating.js @@ -114,7 +114,7 @@ //Set a new target and let the method know the select has already changed. var evt = {"target": null, "data": {}}; - evt.target = $(".ui-rating-star[title="+ value +"]", container); + evt.target = $(".ui-rating-star[value="+ value +"]", container); evt.data.selectBox = selectBox; evt.data.hasChanged = true; methods.click(evt);