eddysilvamendes / jquery-star-rating-plugin

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

Reactivate rating using readOnly:true #79

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
$('.star').rating({
readOnly: false,
callback: function(value, link){
    dis(value);
}
});
function dis(value) {
    $('.star').rating({readOnly:true});
}

The star-rating still not readonly.

How to fix it ?

Original issue reported on code.google.com by amr.hos...@gmail.com on 19 Jan 2011 at 1:43

GoogleCodeExporter commented 8 years ago
Ok I fixed it by adding:
$('.star').rating('readOnly',true)

instead of:
$('.star').rating({readOnly:true});

Thanks.

Original comment by amr.hos...@gmail.com on 19 Jan 2011 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by diego.a...@gmail.com on 23 Feb 2013 at 5:12