$('.auto-submit-star').rating({ callback: function(value, link){ alert(value); } });