jquery-1.8.3.min.js:2 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,