Users Pricing

forum

home / developersection / forums / reload page on json success

Reload page on json success

Hemant Patel 1270 07 Dec 2017

I want to reload page on my json success. Below is my code please give me some idea.

$.ajax({

                        type: "POST",
                        url: '@Url.Action("Delete")',
                        data: '{StudentId: ' + JSON.stringify(std) + '}',
                        dataType: "json",
                        contentType: "application/json; charset=utf-8",
                        success: function (response) {

                        },
                        error: function (XMLHttpRequest, textStatus, errorThrown) {
                            alert('oops, something bad happened')
                        }
                    });

Hemant Patel

Student

Exploring the online world is my passion. have experience of #content writing #SEO #Digital Marketing #On-Page #Lead Generation #Content Analyst #Marketing Analyst... I could never stop at one point, continuously wanted to acquire more and more skills. My work for any organization will be full of passion and hard work.


1 Answers