jQuery star rating question
<p>I have a around 8 jQuery star rating in my page:</p>

<pre><code>&lt;input class= "auto-submit-star" name="star2" type="radio" class="star"/&gt;
&lt;input class= "auto-submit-star" name="star2" type="radio" class="star"/&gt;
&lt;input class= "auto-submit-star" name="star2" type="radio" class="star" checked="checked"/&gt;
&lt;input class= "auto-submit-star" name="star2" type="radio" class="star"/&gt;
&lt;input class= "auto-submit-star" name="star2" type="radio" class="star"/&gt;
</code></pre>

<p>What I want to do is that when a user clicks on the rating, it does a post back to the database (MySQL) and update some data. I know there is a callback function for this star rating that looks something like this:</p>

<pre><code>$('.auto-submit-star').rating({
    callback: function(value, link){
        $.post("ajax.php", {name: unknown, val: value});
    }
})
</code></pre>

<p>The question is that in this callback function, how do I get the name. Which is star2 in the example above? Can someone also give me an example of a doing a post </p>

<p>;</p>
