Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JavaScript coding question
Message
From
27/09/2006 14:00:01
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
JavaScript coding question
Miscellaneous
Thread ID:
01157580
Message ID:
01157580
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform