<script language="javascript" type="text/javascript">
function RadioPermit(ID) {
document.getElementById('<%=txtEndDate.ClientID%>').disabled = !document.getElementById(ID).checked;
document.getElementById('<%=irblTemp.ClientID%>').checked = !document.getElementById(ID).checked;
}
</script>document.getElementById('<%=txtEndDate.ClientID%>').disabled = !document.getElementById(ID).checked;
document.getElementById('<%=irblTemp.ClientID%>').checked = !document.getElementById(ID).checked;
}
<input type="radio" runat="server" id="irblPermit" class="rbNormal" name="Permit" onclick="RadioPermit(this.id);" />
<asp:TextBox ID="txtEndDate" Enabled="false" runat="server" CssClass="txNormal" onkeypress="return false;"></asp:TextBox>
<input type="radio" runat="server" id="irblTemp" class="rbNormal" checked="true" />
No comments:
Post a Comment
Comments