jQuery.post()構文に問題が1つあります。
私はコントローラーを持っておりExampleController.cs、アクションがあります:
public ActionResult TestPost(Guid fileId) { //do something }
とビューExample.cshtml、そしてここで私はこのアクションをロードしようとします:
function foo(fileGuid) {
$.post("Example/TestPost?fileId=" + fileGuid, function () {
alert("success");
});
}
しかし、警告はありません。この構文に何か問題があると思います。誰かが私を助けることができますか?ありがとう。