I would like to pass an array and added to a link on my page as a URL parameter, because later on the server side I need the values from the array. How should I do that?
try this
$('#myLink').attr({"href" : '/myLink?array=' + myArray.join(',')});
on server: capture and split data.