Radiobuton list click show hide label control
<p>I am trying to show/hide Label control if the Radio button List value is 'N'. The code works fine but when I uncheck the radio button the Label control doesn't hide. Also I am using Jquery mousedown event to clear the selection. Please suggest.</p>

<pre><code>var radioList = "#&lt;%= radioLst1.ClientID %&gt;";
  var lblID = document.getElementById('&lt;%=LblIDNumber.ClientID%&gt;');

    $(radioList + " input:radio").click(function (e) {
        if ($('#&lt;%= radioLst1.ClientID %&gt; input:checked').val() == "N") {
            lblID.style.display = $(this).attr("checked") ? 'inline' : 'none';
        }
        else {
            lblID.style.display = 'none';
        }
    });
</code></pre>

<p>I am using the following code to clear the selection of the radio button list.</p>

<pre><code> $(radioList + " input:radio").mousedown(function (e) {
        if ($(this).attr("checked") == true) {
            setTimeout("$('input[id=" + $(this).attr('id') + "]').removeAttr('checked');", 200);
            lblID.style.display = 'none';
        }
        else {
            return true
        }
    });

                &lt;asp:Label ID="LblIDNumber" style="display:none" runat="server"&gt;Number&lt;/asp:Label&gt;

                &lt;asp:RadioButtonList ID="radioLst1" runat="server"&gt;
                    &lt;asp:ListItem Value="U"&gt;Unknown&lt;/asp:ListItem&gt;
                    &lt;asp:ListItem Value="N"&gt;Not Applicable&lt;/asp:ListItem&gt;
                &lt;/asp:RadioButtonList&gt;
</code></pre>
