How to pass an array as a URL parameter?
<p>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?</p>

<pre><code>myArray = ['aaa', 'bbb', 'ccc'];

$('#myLink').attr({"href" : '/myLink?array=' + myArray});
</code></pre>

<p>I am not sure if that is the proper way of doing this?</p>