Display (Show) filtered records in PartialView using jQuery AJAX in ASP.Net MVC

Last Reply 13 days ago By dharmendr

Posted 13 days ago


I have one dropdowm Country

currently my requirement is that i need to filter records based upon Country

I need to display filter records in partialview

could you please help me 

<script type="text/javascript">
    $(document).ready(function () {
        $("#ddlCountry").on('change', function (e) {
                type: 'GET',
                url: "/Employee/Search",
                dataType: 'json',
                data: { country: $(this).find('option:selected').val() },
                success: function (response) {
                error: function () {
<select id="ddlCountry">
    <option value="0">Select</option>
    <option value="USA">USA</option>
    <option value="UK">UK</option>
    <option value="Canada">Canada</option>