Get data array from checkbox list in jquery
<p>I have multiple checkbox list that can be selected </p>

<pre><code>name="campaign_ids"
</code></pre>

<p>I have a function setup in jquery that looks like this:</p>

<pre><code>&lt;script&gt;
$('form#manage_campaigns').submit(function(){
    var formData = $(this);
    $.post(site_url + 'm/affiliates/ajax?action=save_affiliate_campaigns&amp;aid=__aid__', formData, function(data) {
        $('#man_cam_container').fadeOut('fast', function(){
            $('#man_cam_container').html(data).fadeIn('slow');
            setTimeout(function () {
                $('#manage_campaigns').dolPopupHide({});
            }, 2000);

        });
    });
    return false;
})
&lt;/script&gt;
</code></pre>

<p>What I'm trygin to figure out is how to post the array of "campaign_ids" to the URL. Any suggestions on what I'm doing wrong?</p>
