Java Script

Auto Hide in Javascript

<div id="divexample">Your Text</div>
<script>
    function hidediv() 
    {
        document.getElementById("divexample").style.visibility="hidden";
    }
    setTimeout("hidediv()", 3000);
</script>

Leave a Reply

Your email address will not be published.