Error with ajax

Error with ajax

Hi. I have a form with some fields ad the field for upload an image. Inside this form there is a table with some rows.  My target is send all form informations to php. 
  1. This is my code:
  2. $(document).ready(function(){
  3.     var array_orari =[];
  4. $("#salva").click(function(){
  5.     
  6.     $('#orari tbody tr').each(function () {
  7.          
  8.           var giorno =  $(this).find(".giorno").html();
  9.           var apertura1 = $(this).find(".ap1").val();
  10.           var chiusura1 = $(this).find(".ch1").val();
  11.           var apertura2 = $(this).find(".ap2").val();
  12.           var chiusura2 = $(this).find(".ch2").val();
  13.           
  14.           array_orari.push({giorno: giorno, apertura1:apertura1, chiusura1:chiusura1, apertura2:apertura2, chiusura2:chiusura2});
  15.           
  16.       });
  17.     
  18.    array_orari = JSON.stringify(array_orari);
  19.       
  20.    
  21.  
  22.     var formData = new FormData($('#data')[0]);
  23.    
  24.     formData.append('array_orari',array_orari);
  25.     
  26.     $.ajax({
  27.         url: 'ristoDao.php',
  28.         type: 'POST',
  29.         dataType:'JSON',
  30.         data: formData,
  31.         success: function (data) {
  32.             alert(data)
  33.         }
  34.        });
  35. });  
  36.     });
  My problem is when try to send the data to php I have an error on ajax. 
Uncaught TypeError: Illegal invocation
I cant't understand the error. Please help me.