Infolink

 

Search This Blog

Dec 19, 2013

How to display a button on page after a period of time in ASP.NET?

<html>
<head>
<script type="text/javascript">

        function showButton()
        {
            document.getElementById("btnContinue").style.visibility = "visible";
        }

        function hideButton()
        {
            document.getElementById("btnContinue").style.visibility = "hidden";
        }

        window.onload = function()
        {
            hideButton();
            setTimeout('showButton()', 12000);
        }

    </script>

</head>
<body>
<input type="button" id="btnContinue" value="Continue" />
</body>
</html>

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...