Star Rating with AJAX Submissions

Star Rating with AJAX Submissions

<div class="gmail_quote">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 (<a href="http://jquery-star-rating-" target="_blank">http://jquery-star-rating-</a>
<a href="http://plugin.googlecode.com" target="_blank">plugin.googlecode.com</a>) 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 category=$('[@name=category]').val();
                               $.ajax({
                                       type: "POST",
                                       url: "<a href="http://domain.com/feedback.php" target="_blank">http://domain.com/feedback.php</a>",
                                       data: "rate="+value+"&category="+category,
                                       success: alert("yes!")
                               })      ;
                 }
               });
       });
 Any help or advice is appreciated!</div>