skip to Main Content

Html – How can I prevent an added client startup script from running again if someone refreshes a page in ASP?

Given the following - <%--Front-End HTML On ASPX Control--%> <script type="text/javascript"> function jobStarted(){ alert("Job started.rnThis will take a while."); return false; } function jobFinished(){ alert("Job finished!"); return false; } </script> <asp:Button id="myButton" runat="server" Text="Click Me!" OnClientClick="jobStarted();"> </asp:Button> Back End Page…

VIEW QUESTION
Back To Top
Search