How i load html after ajax response ???
how i load html after ajax response in c#.net Please Tell me ................................................................................................................................................................?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Sandeep Singh ShekhawatRank #147 · 15.6K pointsPosted Dec 20, 2013, 1:48 AM EST
$.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.'); } });Sandeep Singh ShekhawatRank #147 · 15.6K pointsPosted Dec 20, 2013, 2:00 AM EST
zain abbas60 pointsPosted Dec 20, 2013, 2:14 AM EST
1 short reply
zain abbas60 pointsPosted Dec 20, 2013, 1:55 AM EST