Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JavaScript coding question
Message
De
27/09/2006 16:40:36
 
 
À
27/09/2006 14:00:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01157580
Message ID:
01157661
Vues:
15
Hi Kevin

Check out

http://www.asp101.com/tips/index.asp?id=135



>Well, it's my turn to ask a question - i'm really stuck on something.
>
>I have a button on a web form, using ASP.NET 2.0. The button is a save button, where I have a C# method call in the code-behind.
>
>I need to disable the save button IMMEDIATELY when the user clicks it - I can't try to disable it in the code-behind, because the user can still click twice on it. So I'm guessing I need JavaScript.
>
>What confuses me is that I need the onclick event of the save button to run the javascript, as well as run my C# code-behind. Not quite sure of the syntax.
>
>I'm sure it's something simple,but I'm missing it. I'm going to do some google searches, but am also posting, in case anyone has run across this.
>
>Thanks,
>Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform