jQuery Star Rating with AJAX Submissions

jQuery Star Rating with AJAX Submissions


I'm trying to have the results of a star rating form be submitted
automatically, but I can't seem to integrate .ajax with the Star
Rating callback. Support for this plugin (http://jquery-star-rating-
plugin.googlecode.com) redirects to this mailing-list, so... here it
is!
This is what I have between the script tags (each input field is in
the star class, each input form has a hidden variable named category,
which specifies which star-input form is submitting):
    $(function(){
        $('.star').rating({
         callback: function(value, link){
         this.form.ajax(function(){
             var perma=$('[@name=category]').val();
                 $.ajax({
                    type: "POST",
                    url: "http://domain.com/feedback.php",
                    data: "rate="+value+"&category="+category,
                    success: alert("yes!")
                })    ;
         }
        });
    });
Any help or advice is appreciated!