how i load html after ajax response ???
how i load html after ajax response in c#.net Please Tell me ................................................................................................................................................................?
zain abbasPosted Dec 20, 2013, 7:14 AM
Sandeep Singh ShekhawatPosted Dec 20, 2013, 7:00 AM
zain abbasPosted Dec 20, 2013, 6:55 AM
Sandeep Singh ShekhawatPosted Dec 20, 2013, 6:48 AM
$.ajax({
cache: false,
type: "GET",
url: url that returns html",
data: { pass your parameters },
success: function (data) {
div.html(data);//assign data to div
},
error: function (xhr, ajaxOptions, thrownError) {
alert('Failed to retrieve html content.');
}
});