Attach a .Change event to a Radiobutton list. (Values bound at run time)
<p>How can i attach a .change event to a radiobuttonlist which has its values bound at runtime</p>

<pre><code>rbSecurity.dataSource = Data();
rbSecurity.dataBind();
</code></pre>

<p>I want to hide a dropdownlist (ddlContact) based on certain selection in the rbSecurity</p>

<p>I tried this but doesn't work:</p>

<pre><code>$("#&lt;%=rbSecurity.ClientID%&gt; input[name*='Security']").change(function () {
            if ($("input[@name=GroupName]:checked").val() != 'Value1') {
                $('#&lt;%=ddlApprovers.ClientID %&gt;').hide();
            }
            else {
                $('#&lt;%=ddlApprovers.ClientID %&gt;').show();
            }
        }
    });
</code></pre>

<p>Thanks in advance</p>
