Link to home
Start Free TrialLog in
Avatar of ayha1999
ayha1999

asked on

Disabling button

Hi,

I have a asp.net text box control in a datalist control and a asp.net button control outside of the datalist. How can I disable the button if user change the value in the text box?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland 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
Avatar of ayha1999
ayha1999

ASKER

How can I apply the function to the text box?

Thanks
SOLUTION
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
I don't know, I don't have access to your code or know the id's of your elements.
Do not use classes where you attach an event to a single element.
Thanks