<strong>Front Desk <br></strong><div class="codetitle"> <span><a style="CURSOR: pointer" data="98897" class="copybut" id="copybut98897" onclick="doCopy('code98897')"><u>Copy code </u></a></span> The code is as follows: </div> <div class="codebody" id="code98897"> <br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br><html xmlns=" http://www.w3.org/1999/xhtml" > <br><head> <br><title>Untitled page</title> <br><script type="text/javascript " src="jquery/jquery.js"></script> <br><script type="text/javascript"> <br>//This method encapsulates the ajax method for easy calling. <br>function myajax(){ <br>$.ajax({ <br>type:'get', <br>url:'ajax.aspx', <br>data:'', <br>dataType:' html', <br>success:callback <br>}); <br>} <br>//Callback function <br>function callback(data){ <br>$('#response').append(data) ; <br>} <br>//onload() event <br>$(function(){ <br>$('#confirm').click(myajax); <br>}) <br></ script> <br></head> <br><body> <br><div id="confirm">Click</div> <br><div id="response">Receive Background data</div> <br></body> <br></html><br> </div> <br><strong>Background</strong> <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="90611" class="copybut" id="copybut90611" onclick="doCopy('code90611')"><u>Copy code</u></a></span> The code is as follows:</div> <div class="codebody" id="code90611"> <br>using System; <br>using System.Data; <br>using System.Configuration; <br>using System.Collections; <br>using System.Web; <br>using System.Web.Security; <br>using System.Web.UI; <br>using System.Web.UI.WebControls; <br>using System. Web.UI.WebControls.WebParts; <br>using System.Web.UI.HtmlControls; <br>public partial class ajax : System.Web.UI.Page <br>{ <br>protected void Page_Load(object sender, EventArgs e) <br>{ <br>Response.Write("hello"); <br>Response.End(); <br>} <br>} <br> </div>