How to check a radio button based value from a group of radio buttons using jquery
<p>I want to create a star rating system for a person, for this user inputs value for five different categories and I want to show the average of those values on a group of radio buttons. I have obtained the average, but now not getting how to display the average.</p>

<pre><code>$("input[name='overall']").each(function(){
                    if(this.value == response.average){
                        $(this).attr('checked', true); 
                    }
                });
</code></pre>

<p>I want to display the average over this field----</p>

<pre><code>&lt;div id="overall_rating" class="Clear"&gt;
&lt;input id="overall" name="overall" type="radio" class="star {split:5} required" disabled="disbled" value="0.2" /&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="0.4"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="0.6"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="0.8"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="1.0"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="1.2"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="1.4"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="1.6"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="1.8"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="2.0"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="2.2"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="2.4"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="2.6"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="2.8"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="3.0"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="3.2"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="3.4"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="3.6"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="3.8"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="4.0"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="4.2"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="4.4"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="4.6"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="4.8"/&gt;
&lt;input id="overall" name="overall" type="radio" class="star" value="5.0"/&gt;
&lt;/div&gt;
</code></pre>

<p>Please help me find the solution to this problem.</p>
