This is my page:

```
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="/Scripts/jquery-2.1.3.js"></script>

    <script>
        function DoSubmit() {
            if ($("#noAggLabel")) {
                $("#noAggLabel").innerHTML = "";
            }
            if (this.value) {
                $("#orderForm").submit();
            }
        }
    </script>
</head>
<body>
    <div>

<form action="/Orders/GetXML" id="orderForm" method="post">            <p>
                <select id="OrdersSelect" name="productionOrderId" onchange="DoSubmit();"><option value="">Orders</option>
<option value="1">Order 1</option>
<option value="2">Order 2</option>
<option value="3">Order 3</option>
</select>
            </p>
</form>    </div>
    <div id="codesTable">
    </div>
</body>
</html>

```

I'm developing a ASP.NET MVC 5 app with .NET Framework 4.5.1 and C#.

This is the View that generates that HTML:

```
@model Models.ProductionOrderViewModel

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="~/Scripts/jquery-2.1.3.js"></script>
    <script>
        function DoSubmit() {
            if ($("#noAggLabel")) {
                $("#noAggLabel").innerHTML = "";
            }
            if (this.value) {
                $("#orderForm").submit();
            }
        }
    </script>
</head>
<body>
    <div>
        @using (@Html.BeginForm("GetXML", "Orders", FormMethod.Post, new { id = "orderForm" }))
        {
            <p>
                @Html.DropDownList("productionOrderId",
                                    new SelectList(Model.ProductionOrders, "Id", "OrderNumber"),
                                    "Orders",
                                    new { id = "OrdersSelect", onchange = "DoSubmit();" })
            </p>
        }
    </div>
    @if (!Model.PagingInfo.HasAggregations)
    {
        <div id="noAggDiv">
            @Html.Label("No tiene agregaciones", new { @id = "noAggLabel" })
        </div> 
    }
    <div id="codesTable">
    </div>
</body>
</html>

```

Why I can't do a submit? I change selected value and nothing happens.