Star Rating without reloading and without submit button

Star Rating without reloading and without submit button

Hi,

I'm trying to use the star rating plugin http://www.fyneworks.com/jquery/star-rating/ .
I have a problem because I don't know how to send (without reloading the page) the stars form without using the submit button.
I'm also using the ajaxForm plugin

I tried that :

 $('.auto-submit-star').rating( {
              callback:function(value, link) {
                   this.form.submit(function({
                        $(this).ajaxSubmit();
                        return false;
                  }));
                }
            });
       
but it doesn't works : The form is send when I click on a star (that's ok) but the submit reload the page even if I use the ajaxForm function "ajaxSubmit".

I succeeded in stop the reloading in doing that :

$('form.rating').ajaxForm();   //from the ajaxForm plugin

that works well but I don't know how to combine it with the precedent code.

If you can help me, I will be gratefull .
thanks