How to check the radio button in a table column, using row id
<p>I have an html table with two columns- text and pair radio button; I have set the id of the rows.I want to dynamically check a radio button using the id of the row. 
HTML:</p>

<pre><code>&lt;tr class="tbrder" id="area1"&gt;
    &lt;td class="biglable"&gt;Leadership University&lt;/td&gt;
    &lt;td class="smalllable"&gt;
        &lt;div class="switch pull-right"&gt;
            &lt;input type="radio" class="radio" value="y"&gt;Y
            &lt;input type="radio" class="radio" value="n"&gt;N
        &lt;/div&gt;
    &lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>If I receive ID area1 from the backend, i want to set the radio button to Y</p>