title: Lock any action on a page using JavaScript
body: <p>I am relatively new to JavaScript. I have developed an application with the Outsystems technology, where-in I present a pop-up to the user and once the user fills the information, the user clicks 'Save' button. Now I need to disable all the page contents as it takes a long time to save and in between that the user may click anything else.</p>
  
  <p>So I need to lock the page using JavaScript, with a message that tells user to wait until the process finishes.(on-click of the 'Save' button)</p>
  
  <p>Any hints ?</p>
  
  <p>Thanks.</p>