📅  最后修改于: 2022-03-11 15:03:30.008000             🧑  作者: Mango
$.ajax({
// edit to add steve's suggestion.
//url: "/ControllerName/ActionName",
url: '<%= Url.Action("ActionName", "ControllerName") %>',
success: function(data) {
// parse your data here
alert(data);
}
});