From b3ce94d5ff0d8878c477ab6ce682a90273f95b32 Mon Sep 17 00:00:00 2001 From: montrezorro Date: Mon, 23 Jul 2012 16:42:08 +0300 Subject: [PATCH] function setValue dosn't works! --- jquery.rating.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);