i have a checkbox and textbox.... when i enter some text in textbox checkbox will be disabled or when click on checkbox textbox will be disabled.. When i load the textbox with some value, the checkbox will be disabled. when try to change the value of textbox to empty,
the checkbox should be enabled but its not firing the javascript.
<asp:TextBox ID="TextBox2" runat="server" class="txtcheck"></asp:TextBox> <span id="textspan"><asp:CheckBox ID="CheckBox9" runat="server" class="txtcheck"/></span>
Jquery:
$(document).ready(function () {
ssntxtcheck();
function ssntxtcheck() { var txt = document.getElementById("<%=TextBox2.ClientID%>"); var txtcheck = document.getElementById("<%=CheckBox9.ClientID%>"); var spanid = document.getElementById('textspan'); spanid.style ...

Go to the complete details ...