Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call Change() function
Message
De
01/01/2015 18:31:34
 
 
Information générale
Forum:
Javascript
Catégorie:
JQuery
Divers
Thread ID:
01612951
Message ID:
01612952
Vues:
44
My guess is that txtMyTextbox should be #txtMyTextbox.

>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform