Refering to controls through javascript function
<p>I have a radiobutton column in a gridview, inside many nested asp tables. I want radios enable two buttons upon click. so I added this the following function an javascript but it cannot find my controls although I turned ClientIDMode="Static" for those buttons. It returns null.</p>

<pre><code>&lt;asp:GridView ID="gridView_stLists" runat="server" AutoGenerateColumns="False" CellPadding="3"
                                                    BorderStyle="NotSet" CssClass="table_layout" Width="500"&gt;
                                                    &lt;RowStyle CssClass="table_body" /&gt;
                                                    &lt;Columns&gt;
                                                        &lt;asp:TemplateField HeaderStyle-Width="20"&gt;
                                                            &lt;ItemTemplate&gt;
                                                                &lt;input name="radioBtn_res" type="radio" value='&lt;%# Eval("uri") %&gt;' onclick="rdBtn_onClick()" /&gt;
                                                            &lt;/ItemTemplate&gt;

&lt;script language="javascript" type="text/javascript"&gt;

function rdBtn_onClick()
{
document.getElementById("btn_delete_list").enable=true;
document.getElementById("btn_showRes").enable=true;

}
    &lt;/script&gt;
</code></pre>

<p>can the problem be from the place of script tag? I put it under content tag.</p>
