Jquery: Select a radio button when table row is selected
<p>I need to have a radio button selected when a user clicks anywhere in a table row. I have been toying with some options but cannot get anything to work.</p>

<p>Any help is appreciated.</p>

<p>Here is a sample table:</p>

<pre><code>&lt;table id="tableSelect" class="rowclick" border=1&gt;
&lt;caption align="top"&gt;User Management&lt;/caption&gt; &lt;thead&gt;
&lt;tr id='head'&gt;
    &lt;th scope="Row"&gt;Select&lt;/th&gt;
    &lt;th&gt;User Name&lt;/th&gt;
    &lt;th&gt;Greeting Name&lt;/th&gt;
    &lt;th&gt;Dept&lt;/th&gt;
    &lt;th&gt;User Name&lt;/th&gt;
    &lt;th&gt;Access Level&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
    &lt;tr id='one'&gt;
        &lt;th scope="col"&gt;
            &lt;input name="UserSelected" id="userSelected_1" type="radio" value="1"&gt;
        &lt;/th&gt;
        &lt;th scope="col"&gt; Richard Rice&lt;/th&gt;
        &lt;td&gt;Rick&lt;/td&gt;
        &lt;td&gt;IT&lt;/td&gt;
        &lt;td&gt;rick&lt;/td&gt;
        &lt;td&gt;
            &lt;select class="Role" id="Role" name="userAccessLevel"&gt;
                &lt;option value="-2"&gt;Access Denied&lt;/option&gt;
                &lt;option value="-1"&gt;Suspended&lt;/option&gt;
                &lt;option value="1"&gt;Shipping User&lt;/option&gt;
                &lt;option value="2"&gt;Administrator&lt;/option&gt;
                &lt;option value="3" selected&gt;Super Administrator&lt;/option&gt;
                &lt;option value="5"&gt;Accounting&lt;/option&gt;
                &lt;option value="6"&gt;Report Viewer&lt;/option&gt;
            &lt;/select&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr id='two'&gt;
        &lt;th scope="col"&gt;                          
            &lt;input name="UserSelected" id="userSelected_2" type="radio" value="3"&gt;
        &lt;/th&gt;
        &lt;th scope="col"&gt; Mickey Hockenberry&lt;/th&gt;                     
        &lt;td&gt;Mickey&lt;/td&gt;
        &lt;td&gt;Purchasing&lt;/td&gt;
        &lt;td&gt;mickeyh&lt;/td&gt;
        &lt;td&gt;
            &lt;select class="Role"  id="Role" name="userAccessLevel"&gt;
                &lt;option value="-2"&gt;Access Denied&lt;/option&gt;
                &lt;option value="-1"&gt;Suspended&lt;/option&gt;
                &lt;option value="1"&gt;Shipping User&lt;/option&gt;
                &lt;option value="2" selected&gt;Administrator&lt;/option&gt;
                &lt;option value="3"&gt;Super Administrator&lt;/option&gt;
                &lt;option value="5"&gt;Accounting&lt;/option&gt;
                &lt;option value="6"&gt;Report Viewer&lt;/option&gt;
            &lt;/select&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr id='three'&gt;
        &lt;th scope="col"&gt;                          
            &lt;input name="UserSelected" id="userSelected_3" type="radio" value="41"&gt;                    
        &lt;/th&gt;
        &lt;th scope="col"&gt; Michael Lynch&lt;/th&gt;
        &lt;td&gt;Mike&lt;/td&gt;
        &lt;td&gt;Shipping&lt;/td&gt;
        &lt;td&gt;mjl&lt;/td&gt;
        &lt;td&gt;
            &lt;select class="Role"  id="Role" name="userAccessLevel"&gt;
                &lt;option value="-2"&gt;Access Denied&lt;/option&gt;
                &lt;option value="-1"&gt;Suspended&lt;/option&gt;
                &lt;option value="1"&gt;Shipping User&lt;/option&gt;
                &lt;option value="2" selected&gt;Administrator&lt;/option&gt;
                &lt;option value="3"&gt;Super Administrator&lt;/option&gt;
                &lt;option value="5"&gt;Accounting&lt;/option&gt;
                &lt;option value="6"&gt;Report Viewer&lt;/option&gt;
            &lt;/select&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/tbody&gt;
</code></pre>

<p></p>
