How to get jquery stars id value?
<p>On my page i have radio buttons...   </p>

<pre><code>&lt;div class="stars-wrapper1"&gt;    
   &lt;input type="radio"  name="newrate" value="1" title="VeryPoor" @Html.Raw((Model.review == 1?"checked=\"checked\"":""))  /&gt;                        
   &lt;input type="radio"  name="newrate" value="2" title="Poor" @Html.Raw((Model.review == 2?"checked=\"checked\"":""))  /&gt;    
   &lt;input type="radio"  name="newrate" value="3" title="Average"  @Html.Raw((Model.review == 3?"checked=\"checked\"":"")) /&gt;
   &lt;input type="radio" name="newrate" value="4" title="Good" @Html.Raw((Model.review == 4?"checked=\"checked\"":"")) /&gt;
   &lt;input type="radio"  name="newrate" value="5" title="Excellent"@Html.Raw((Model.review == 5?"checked=\"checked\"":""))  /&gt;     
   &lt;input type="hidden" name="rate" value="@Model.ThePhoto.ID" disabled="disabled"&gt;                    
&lt;/div&gt;
</code></pre>

<p>They are radio buttons and when i use the function stars they turn into this..</p>

<pre><code>&lt;div class="stars-wrapper1"&gt;    
   &lt;input type="hidden" name="rate" value="41" disabled="disabled"&gt;                    
      &lt;div class="ui-stars-star ui-stars-star-on ui-stars-star-disabled"&gt;
          &lt;a title=""&gt;1&lt;/a&gt;&lt;/div&gt;
      &lt;div class="ui-stars-star ui-stars-star-on ui-stars-star-disabled"&gt;
          &lt;a title=""&gt;2&lt;/a&gt;&lt;/div&gt;
      &lt;div class="ui-stars-star ui-stars-star-on ui-stars-star-disabled"&gt;
           &lt;a title=""&gt;3&lt;/a&gt;&lt;/div&gt;
      &lt;div class="ui-stars-star ui-stars-star-disabled"&gt;
           &lt;a title=""&gt;4&lt;/a&gt;&lt;/div&gt;
      &lt;div class="ui-stars-star ui-stars-star-disabled"&gt;
           &lt;a title=""&gt;5&lt;/a&gt;
      &lt;/div&gt;
       &lt;input type="hidden" name="newrate" value="0" disabled="disabled"&gt;
 &lt;/div&gt;
</code></pre>

<p>When I click on a star i hidden value so i can save into my db this is the rating this photo received, but i cant get 'this' hidden value, i get 41 al the time the first photo id, there are several of these stars on the page with different hidden IDs  </p>

<p>jquery:</p>

<pre><code>$(document).ready(function () {
    $(".stars-wrapper1").stars({
        oneVoteOnly: true
    });
    $('.stars-wrapper1 a ').click(function () {
        alert($('input:hidden[name$=rate]').val());
    });
}); 
</code></pre>

<p>There are many different images with these stars on one page, so the rel is how im trying to find out what image the user has rated.</p>

<p>This is where i got stars form ... <a href="http://orkans-tmp.22web.net/star_rating/" rel="nofollow">Star Rating Plugin</a></p>
