Popular Posts

Friday, February 7, 2014

MvcPaging let the partialview updates its own content using ajax

<script>
 
    $(function () {
        $('#Pager a').click(function () {
            $.ajax({
                url: this.href,
                type: 'GET',
                cache: false,
                success: function (result) {
                    $('#grid-list').html(result);
                }
            });
            return false;
        });
    });
 
</script>
 

No comments:

Post a Comment