-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Joseph A Moraes
Message 8 in Discussion

<%@ Page Language="C#"%>
 runat="server">
    public void page_load(object sender, System.EventArgs e)
    {
        chk1.Attributes.Add("onclick","fnCheck();");
        chk2.Attributes.Add("onclick","fnCheck();");
    }
</script>
<html>
<head>
</head>
<body>
    <form id="frm1" runat="server" method="post" action="TestChecBox.aspx">
        
            
                <input type="checkbox" id="chk1" runat="server">First CheckBox
            
            
                <input type="checkbox" id="chk2" runat="server">Second CheckBox
            
            
                <input type="checkbox" id="chk3" runat="server">Third CheckBox
            
         

         language="Javascript">
            function fnCheck()
            {
                if ((document.frm1.chk1.checked == true) || 
(document.frm1.chk2.checked == true))
                {
                    document.frm1.chk3.disabled = true;
                }
                else
                {
                    document.frm1.chk3.disabled =  false;
                }
            }
        </script>
    </form>
</body>
</html>


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to