jquery radio button checked attribute?
<pre><code>&lt;input type="radio" value="G;-;P063P081719;-;84.063" name="awardDetail"/&gt;
&lt;input type="radio" value="G;-;P063P091719;-;84.063" name="awardDetail"/&gt;
&lt;input type="radio" value="G;-;P063Q081719;-;84.063" name="awardDetail"/&gt;
</code></pre>

<p>I am not selecting a default checket attribute <code>checked="checked"</code>. When I am selecting a radio button, I am making an Ajax call based.</p>

<pre><code>$('input[name=awardDetail]:radio').click(function(){
    var awardinfo = $('input[name=awardDetail]:checked').val();
</code></pre>

<p>and sending this awardinfo to the Ajax function and the returned data from server to display in the DIV.</p>

<p>However, my radio button is checked to previous radio button rather than the current selected radio button. </p>

<p>How do I set the checked attribute for this radio button passing the selected index dynamically. </p>

<p>The radio button values group is dynamically generated from backend.</p>
