Link to home
Start Free TrialLog in
Avatar of Dan Violet Sagmiller (He/Him)
Dan Violet Sagmiller (He/Him)Flag for United States of America

asked on

Checkbox when checked, disables textbox.

I'm looking for the easiest way to do this:

I have a text box and a check box.  

When some one checks the check box, I want the text box to immediately disable and have its text = "";

Alternatively, when the box is unchecked, I want the text box enabled again.

How can I do this without having to jump through a bunch of hoops?

Essentially, I want the checkbox changed event to runat="client" but that does not work.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Dan Violet Sagmiller (He/Him)
Dan Violet Sagmiller (He/Him)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial