function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tulasi ram 1tulasi ram 1 

how to disable a button click when page is reloaded/refreshed

There is a button, when the document is loaded if username password are remembered then it automatically fires sign in button. The problem here is when somebody manually refreshes the page or page is redirected to some where else then that button click is firing. How can i stop that button click when a page is refreshed manually or redirected.