I\'m writing a web page in ASP.NET. I have some JavaScript code, and I have a submit button with a click event.
Is it possible to call a method I created in ASP with
You can use PageMethods.Your C# method Name in order to access C# methods or VB.NET methods into JavaScript.
PageMethods.Your C# method Name
You can do it asynchronously using .NET Ajax PageMethods. See here or here.