jquery-1.12.4.js:10073 Uncaught TypeError: Illegal invocation at add 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,