0

In entire SharePoint site i want to put global loading message while every page postback, if user navigate from one page to another page it shows loading message until another page loads.

is it posible in SharePoint 2013?

any help would be appreciated,

Thanks

1
  • Yes, it is possible to put global loading message, for that you can create custom master page for publishing page as well as system master page.
    – Pradip R.
    Commented Jun 14, 2016 at 5:21

1 Answer 1

0

You need to work in an event that captures the unload, in a MasterPage script or Site UserCustomAction, or anywhere you want to add script to the Page.

<script>
  window.onunload = function() {
    console.info('We are going to another page');
  }
</script>

You might want to use onbeforeunload

Details:

http://javascript.info/[booktitle-raw]/load-and-unload-events

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.