How to detect clientside modification of the text in an asp:button

  • Thread starter Thread starter WT
  • Start date Start date
W

WT

Hello,

..NET 2, aspx, visual studio 2005.
I need to enable a button when text in a textbox is modified.
How to put some javascript code that will be triggered and enable the button
?

Thanks for help
CS
 
Hello,

.NET 2, aspx, visual studio 2005.
I need to enable a button when text in a textbox is modified.
How to put some javascript code that will be triggered and enable the button
?

Thanks for help
CS

something like this:

myTextBox.Attributes.Add("onchange",
"document.getElementById("myButton').disabled=false;return false;");
 
Back
Top