Pass comma separated variable using javascript
<p>I have a variable (pvlist) an array which contains data like so '<code>120123,345654</code>'. When I try passing only one value using <code>window.open</code> it works e.g when the array only has one value.
If I have more than one value in my array, I get a blank page with nothing. I have tried various solutions suggested which include:</p>

<pre><code>window.open("../Functions/csv.php?refno="+pvlist);
window.open("../Functions/csv.php?refno="+pvlist+"");
window.open("../Functions/csv.php?refno="+pvlist.join(",")+""); 
</code></pre>

<p>Any suggestion of what can be used to pass a variable with more than one comma separated value? all help appreciated. </p>

<p><strong>EDIT</strong> 
variable pvlist is a variable with comma separated values</p>
