Posted on: 7/4/2014 6:16:02 PM | Views : 602

hi guys, i have a simple form where the user enters  2 numbers. once the user clicks the submit button the function Calc will run the ajax request which should get the result  after adding or subtracting the 2 numbers. 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Call Server Side method from JavaScript in ASP.NET using JQuery ajax</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="http://localhost:8071/Scripts/jquery-1.10.2.js"></script> // script for Ajax <script src="http://localhost:807 ...

Go to the complete details ...