title: Why my multi javascript array can no pass the data throw ajax?
body: <pre><code>var model = new Array();
  
  function saveItem(id){ 
  
     var title = $("#inputTitle_"+id).val();
  
     var url   = $("#inputPicurl_"+id).val();
  
     var content = $("#content-editor-"+id).html();
  
     model[id] = new Array();
  
     model[id]['inputTitle'] = $("#inputTitle_"+id).val();
  
     model[id]['inputPicurl'] = $("#inputPicurl_"+id).val();
  
     model[id]['author'] = $("#author_"+id).val();
  
     model[id]['content'] = $("#content-editor-"+id).html();
  
     $("#title_"+id).text(model[id]['inputTitle']); 
  
     console.log(model);
  }
  
   $("#submit_form").click(function(){
  
         $.ajax({
          url:'materials/addpics',
          type:'post',
          dataType:'json',
          data:model,
          traditional:'true',
          success:function(data){
            console.log(data)
          }
         });
      });
  </code></pre>
  
  <p>when the saveItem() run,the console log is array[],but the data named model in ajax is NULL?</p>