In javascript you can use Object for parameter function’s.
Sample:
function test({
param1:value,
param2:value,
param3: [1,2,3,4]
});
If you need list methods or variables of object you need jQuery.
In another moment i explain better about jQuery.
This function list:
obj = {param1:value,param2:value};
jQuery.each(obj, function(name, value) {
alert(name + " = " + value);
});
Simple… bye
