AJAX and post data : forms
<p>I'm trying to post some data with AJAX. I'm sending a serialized form, but nothing is sent. What can go wrong ? How can I fix it?</p>

<pre><code>$.ajax({
    url: 'postcreaorganisation',
    type: 'POST',
    data: $('#form').serializeArray(),
    processData: false,
    success: function(data) {
        //success action
    },
    error:function (xhr, ajaxOptions){
        //error action
    }  
});
</code></pre>

<p>Thanks in advance!</p>

<p>Edit : I should specify that I use that code in a dialog confirm button's action.</p>
