jquery-3.1.0.min.js:4 Uncaught TypeError: Illegal invocation code example
Example: jquery-3.4.1.min.js:2 Uncaught (in promise) TypeError: Illegal invocation
var form = $('#AddPersonnelForm')[0];
var frmData = new FormData(form);
processData: false,
contentType: false,