私は ASP.Net MVC4 で作業しています。私のビューにはテーブルがあり、そのテーブルをロードしたいのですが、成功後にロードしたくありません。
<div id="groupTable"> <table> table columns and rows <table></div>
$.ajax({
type: "POST",
url: url,
dataType: "json",
data: { groupNames: JSON.stringify(groubyNames), page: JSON.stringify(page) },
success: function(data) {
$('#groupTable').load(data); // not refreshing table withdata
},
error: function(request, status, error) {
alert(request.responseText);
}
});