forum

Home / DeveloperSection / Forums / Reload page on json success

Reload page on json success

Hemant Patel 1014 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')
                        }
                    });



Updated on 07-Dec-2017
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.

Can you answer this question?


Answer

1 Answers

Liked By