Serializing an array in Jquery?
<p>How to prepare this array for <code>$.ajax</code> submit ? 
Here images return <code>["val1","val2"]</code> but after i use <code>$.param(images)</code> i get back <code>undefined=undefined&amp;undefined=undefined</code></p>

<pre><code>   $('#rem_images').click(function(){
         var images = new Array();
        $('.images_set_image input:checked').each(function(i){
            images[i] = $(this).val();
        });
        alert($.param(images));
        return false;
</code></pre>

<p>Generally the idea is to check the images to delete on page then on button click loop trough all images checked and serialize array for submit over ajax to php script.</p>
