$(".btnrename").click(function () { var check = $(".newName").val(); if (check != "") { $.ajax({ url: '@Url.Action("EditUserProfile", "Home")', type: "POST", cache: false, data: { folderName: check, parentFolderName: checkName, subId: checkId }, success: function (data) { window.location.reload(); } }); e.preventDefault(); }
window.location.reload();
$("#yourcontainer").html(receivedhtml);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)