Multiple Checkbox post
<p>What is the best way to post muliple checkbox value and its siblings in jquery and get the post values in arrays by PHP?I have to get all values of checkbox and td.How can I do this?</p>

<p>Here is my checkbox in a table</p>

<pre><code>&lt;form action="test.php"&gt;
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;&lt;input type="checkbox" name="event[]" id="event" value="A"&gt;1&lt;/td&gt; &lt;td&gt;James&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input type="checkbox" name="event[]" id="event" value="B"&gt;2&lt;/td&gt; &lt;td&gt;Dave&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input type="checkbox" name="event[]" id="event" value="C"&gt;3&lt;/td&gt; &lt;td&gt;Bal&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input type="checkbox" name="event[]" id="event" value="D"&gt;4&lt;/td&gt; &lt;td&gt;Tim&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;input type="checkbox" name="event[]" id="event" value="E"&gt;5&lt;/td &gt;&lt;td&gt;Ester&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;input type="submit" name="submit" /&gt;
&lt;/form&gt;
</code></pre>

<p>I should get all post data of checkboxes like this inlcuding the td values.
    [event] => Array
        (
            [0] => array(A,James)
            [1] => array(B,Dave)
        )</p>
