Answers for "Uncaught TypeError: Illegal invocation in javascrutp dcoumenr"

4

TypeError: Illegal invocation

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
})
Posted by: Guest on January-27-2021

Code answers related to "Uncaught TypeError: Illegal invocation in javascrutp dcoumenr"

Code answers related to "Javascript"

Browse Popular Code Answers by Language