In my application, I have a button and a text box. The user enters something into the text box and then clicks the button. I want to:
The search button should stay off when the page loads for the first time. I can achieve this by installing it in the code behind the file.
Now I want it to stay disabled when the user enters up to 2 characters. At the moment when the user types the third character, the button should turn on automatically.
The important thing is that this needs to be done without asp.net AJAX, as this website will be launched from older mobile phones. Thus, only pretty simple javascript or jquery is supported.
Any help would be appreciated.
thank
Varun
source
share