Fyneworks JQuery Star Rating Plugin - Callback Infinite Loop

Fyneworks JQuery Star Rating Plugin - Callback Infinite Loop

Hi all,

I am using the Fyneworks JQuery Star Rating Plugin and would like to implement a callback function for a click event.

Here some information is given how to proceed. 

When clicking on a star, the callback function causes an infinite loop. How to prevent this?
  1. // auto-initialize plugin
  2. //$(function(){
  3. //    $('input[type=radio].star').rating();
  4. //});
To replace the class 'star' at the input fields with ' auto-submit-star':
  1. <input name="star3" type="radio" class="auto-submit-star"/>
And use following function:

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