I would like to have an array like this:
array['parameter1'] = 1,2,3,4
array['parameter2'] = A,B,C,D
(simple construction as explanation)
And I would like to call it later like:
alert(array['parameter2'])
to get "A,B,C,D"
At the moment, I have a simple array:
var array = [];
$.each($("input[name='checkbox']:checked"), function(){
array.push($(this).val());
});
But this doesn't help. Need help please :)