');$('#table-container').html(' ');$('#table-container').append('
'); loadDetails(dataset); waitDialog.close(); }) } $scope.loadMPD(); // This code is used to indicate what will the back button will do. // In this section, it will initialize the page link. 1st part will fetch the Web Absolute URL while the next section, the developer must indicate the page directory. // window.open('this section will fetch the web absolute url of the page' + 'the developer will indicate the directory of the page or file',"_self") /////////////////////////////////////////////////////////////// ///////////////////////////// Back Button Function $('#btnBack').click(function(){ window.open(_spPageContextInfo.webAbsoluteUrl + "/SitePages/PriceStability/PriceStability.aspx#MPAIT","_self") }); }]);