How to execute in JavaScript function in ASP.NET using C#
<p>i have a textarea which i want to disable when I check a <code>checkbox</code>. I made a working demo in plain HTML and JavaScript , but When I am migrating to Asp.net, neither the function is being executed nor I can keep the <code>OnSelect</code> event in my check box.</p>

<pre><code>&lt;asp:CheckBox ID="ChkOthers" runat="server" Text="Others(Please Explain)" Width="205px" AutoPostBack="True" OnCheckedChanged="ChkOthers_CheckedChanged" /&gt;
&lt;asp:TextBox ID="TxtOtherReason" runat="server" MaxLength="1024" TextMode="MultiLine" /&gt;
</code></pre>

<p>i want to create client side validation when check box is checked textbox is enable else disable.</p>
