eddysilvamendes / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

checked=checked is ignored when using rating({...}) #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I set set checked=checked
<div class="Clear" style="margin: 40px;">
  <input class="tag-rating required" type="radio" name="rating" value="1" />
  <input class="tag-rating" type="radio" name="rating" value="2" checked="checked"/>
  <input class="tag-rating" type="radio" name="rating" value="3"/>
</div>
then the setting is ignored using
     $('.tag-rating').rating({
      callback: function(value, link){
    //do stuff here
      }
    });

Do I do something wrong?

Original issue reported on code.google.com by eugen.f...@gmail.com on 25 Aug 2012 at 9:45

GoogleCodeExporter commented 8 years ago
btw, its fine when I use the API call without a callback (rating('select', 2))

Original comment by eugen.f...@gmail.com on 25 Aug 2012 at 9:46

GoogleCodeExporter commented 8 years ago

Original comment by diego.a...@gmail.com on 24 Feb 2013 at 1:14