I have a little web application which must be finished tonight and im stuck with this problem. I'm doing an ajax request from the Index view to my HomeController which passes some parameters including a string array.

My output from the string array in the console is : ["text1", "text2"] but in the actionresult I get this as string[0] = "text1, text1" instead of string[0] = "text1" and string[1] = "text2".

Below is my code!

**jQuery to fill the string array (wrapped in onload):**

```
 var keywords = [];

 $("#menu-jesus a").on("click", function () {
        var keyword = $(this).text();
        keywords.push(keyword);

        getFilteredStatues();
        showDescription(keyword);

        $('#statue-info').hide();
    });

```

**Ajax:**

```
$.ajax({
            type: "GET",
            cache: false,
            url: '@Url.Action("GetFilteredStatues")?height=' + queryString[0]
            + "&material=" + queryString[1]
            + "&keywords=" + keywords
            + "&itemsPerPage=" + itemsPerPage,
            dataType: "html",
            success: function (data) {
                $("#pictures").html(data);
                showSearchTerms();
                hideSearchTermDiv();
                getStatueInfo();

                if (itemsPerPage >= 304) {
                    $(".more-results").hide();
                }
            },
        });

```

**ActionResult:**

```
    public ActionResult GetFilteredStatues(string height, string material, string[] keywords, int itemsPerPage)
    {
        var h = height != "undefined" ? height : "";
        var m = material != "undefined" ? material : "";

        var statues = db.GetFilteredStatues(h, m, keywords, itemsPerPage);

        return PartialView("PicturesResult", new IndexModel(statues));
    }

```

I appreciate any tips! thx.