Hey,
I want to enable a text box when a check box is pressed. I am using asp.net 2.0 with vb.
Here is my current code, no errors are returned but it doesn't do anything when the check box is clicked.
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterLogin.master" AutoEventWireup="false" CodeFile="myaccount.aspx.vb" Inherits="myaccount" %>
<script runat="server">
Sub PasswordCheckbox_onclick(ByVal s As Object, ByVal e As EventArgs)
PasswordCheckBox.Checked = PasswordTxtBx.Enabled
PasswordCheckBox.Checked = Password2TxtBx.Enabled
End Sub
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" Runat="Server">
<asp:CheckBox ID="Pas ...
Go to the complete details ...