my html code is:
    <input class='change_connection' name='test[connection][]' type='checkbox' value="3G">
    <input class='change_connection' name='test[connection][]' type='checkbox' value="wifi">
    <input class='change_platform' name='test[platform][]' value='mobile' type='checkbox'>
    <input class='change_platform' name='test[platform][]' value='desktop' type='checkbox'>
    <input class='change_platform' name='test[platform][]' value='tablet' type='checkbox'>
in php i make with it a multidimensional array that looks like this:
    Array
(
    [connection] => Array
        (
            [0] => 3G
            [1] => wifi
        )
    [platform] => Array
        (
            [0] => mobile
            [1] => desktop
            [2] => tablet
        )
)
So can you help do the same array with the same structure in jquery?