Using Jquery and Ajax in ASP.NET
- by xkcd
I am using ajax and jquery to load contents into a div.
My jquery looks like this
$("a.trigger").click(function() {
$.ajax({
type: "POST",
url: "GetStuff.aspx",
data: "id=0",
success: function(response){
$("#contentDiv").html(response);
}
});
});
In GetStuff.aspx I would like to write some asp.net…