function getServerResponse() { $("#serverResponse").load("AjaxCall.aspx"); } Server side code: Response.Write(DateTime.Now.ToString());
function sendDataToServer() { $.get("AjaxCall.aspx" ,{name: $("#txtName").val()} ,function(data) { $("#serverResponseSendData").html(data); }); } Server side code: Response.Write("Hello " + Request.QueryString["name"] + " !!");