Q:

How do I update ASP.NET MVC partial view asynchronously?

I am trying to asynchronously update a table of data based on the user's selection from a drop-down. Using stuff I've read here and elsewhere, I've been trying to use a partial view to accomplish this. My code looks something like this:
Home.cshtml:
<body>
<div id="main-region">       
    <div class="mySelector">
        <label class="dropdown-label">Filter: </label>
        @Html.DropDownListFor(m => m.SelectedStatus, Html.GetEnumSelectList(typeof(MyEnum)),
       new { @id = "mySelector" })
    </div>
    <div id="myPartialView">
        @Html.Partial("_Summary", Model)
    </div>
</div>
<script type="text/javascript" src="~/lib/jquery/dist/jquery.min.js"></script>
<script type="text/javascript">
    $('#mySelector').change(function () {
        var newSelectionID = $(this).val();
        $('#myPartialView').load('@Url.Action("Filter", "Home")') //syntax for including newSelectionID?
    });

</script>

_Summary.cshtml is just a simple table.
HomeController.cs:
    [HttpGet]
    public IActionResult Filter(string statusID)
    {
      var modelData = mService.GetData(statusID);
        return PartialView("_Summary", model);
    }

I'm stuck on two things:

I can't even seem to get this to hit my Filter method server-side.
I'm not sure how to pass back the user-selected value. 

I'm obviously missing something. Can anyone help me out? I'm using asp.net core.
Thanks very much.

A:

Your code might be crashing because you are not passing the statusID parameter to your method and i see you are using the parameter value to get the model data needed for the partial view. If the code crashes, the server will return a 500 Internal error status code in the response and the div (myPartialView) will not be updated with the content.
Since your action method is decorated with GET attribute, you may pass the value in querystring.
This should work
$(function() {

    $('#mySelector').change(function() {
        var v = $(this).val();
        $('#myPartialView').load('@Url.Action("FilterOnStatus", "Home")?statusID=' + v);
    });

});

