irfan/jquery-star-rating — pull request #1 by rogercampos (2012-10-03 12:33:34+00:00)
Title: return the original element in the callback

By returning the dom element the final user is able to know which rating is triggered. If the input radio elements are inside a regular form, you can use this code to automatically issue the form submit:

$('.rating-container').rating(function(vote, e, el) {
el.parent().submit();
});