📜  TypeError:非法调用 - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:58.238000             🧑  作者: Mango

代码示例1
Your datatype is not JSON, it’s a FormData. And for jQuery to send a FormData, it needs…
$.ajax({
    type: "POST",
    url: 'signin2.php',
    data: formData,
    processData: false, //add this
    contentType: false, //and this
})