Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call Change() function
Message
 
 
To
All
General information
Forum:
Javascript
Category:
JQuery
Title:
Call Change() function
Miscellaneous
Thread ID:
01612951
Message ID:
01612951
Views:
43
I am trying to incorporate a jQuery Change function in an asp.net page that would make certain control invisible when user starts typing (making changes) in a text box. My initial test, just to call an alert() does not seem to work. Here is my code:
<script type="text/javascript">
       $(document).ready(function () {

           $("txtMyTextbox").change(function () {

               alert("Change Function Called");

           });

   })
</script>
What is wrong with my code? TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform