Question: Please add the required JavaScript code to $('#btnAJAXReverse').click(). You are encouraged to use the code from $('#btnAJAXGet').click() as a template. Make an AJAX call to

  1. Please add the required JavaScript code to $('#btnAJAXReverse').click(). You are encouraged to use the code from $('#btnAJAXGet').click() as a template.
    1. Make an AJAX call to the WebMethod Reverse on the web page GetReply.aspx
    2. Display the returned value in lblLoginResult Note: the string will be returned unchanged until you add code to the C# WebMethod, which you do in the next step of this lab.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%-- Based heavily on the sample project from http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/ --%>

CIS 235 AJAX Examples

AJAX Request to another page, with data



User names: nana, student, and amin are valid.

All others are invalid.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!