Program code – Login Form to Expire in 5 seconds.

In the program code written in Simple HTML(Hyper Text Markup Language) & JavaScript. The Login form will disable with in 5 seconds. The program code save .aspx extension . That program run at asp server.

 <head runat="Server">
  <script type="text/javascript">
      function HideLable()
              document.getElementById("message").innerHTML="Login Form Expried";
            setTimeout("HideLable();",5000); // 5000 means 5 seconds.
    <form id="form1" runat="Server">
      <div id="message"> This Login form will expired in 5 seconds.<br>
        <Lable> Username</Lable>
        <input type="text"></input>
        <input type="text"></input>
        <asp:LinkButton Text="Submit" runat="server" />

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.