Jquery ajax post function

$.post(url, function (data) {
$(“#data”).html(data);
});
$.ajax({ url: url, cache: false
})
.done(function (html) {
$(“#data”).append(html);
});

 

$.ajax({
type: “GET”,
//data: {teamID: teamID},
url: url,
dataType: “html”,
async: true,
success: function(response)
{
$(‘#data’).html(response);
}
});

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)