Question: There are comments in the code that show where to add the code for the questions. Add a new button labeled Scramble with the id
There are comments in the code that show where to add the code for the questions.
- Add a new button labeled "Scramble" with the id btnScramble.
- Add a JavaScript function, btnScramble.click().
- Have the JavaScript function call the method Scramble on GetReply.aspx.cs.
- You are encouraged to start from btnAJAXGet.click(), which is already coded for you in Defualt.aspx. Please make a copy of btnAJAXGet.click(),to change for btnScramble.
<%@ 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/ --%>
AJAX Request to another page, with data
User names: nana, student, and amin are valid.
All others are invalid.
