I am trying to pass the values of a Javascript array to a PHP URL through Ajax. Here is script array

```
<script>"Talent_Percentile.php?"+globalArray"</script>

```

Where `globalArray` is my Javascript array. When I alert this, I get

```
Talent_Percentile.php?eqt_param1=4.00,eqt_param2=4.00,eqt_param3=4.00

```

I know about string replace but I don't know how to use it on an array. I need an output like

```
Talent_Percentile.php?eqt_param1=4.00&eqt_param2=4.00&eqt_param3=4.00

```

Can someone help me?