<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Hidediv_on_pageload.aspx.cs" Inherits="Hidediv_on_pageload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript">
</script>



<script type="text/javascript">
    $(document).ready(function () {

        setTimeout(function () {
            $("#div1").fadeOut("slow");
        }, 5000);
    });
</script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    This demonstration shows how we can hide an window automatic within a time limit through jquery
<div id="div1" style="width:180px;height:180px;background-color:red;border-radius:6px;margin-left:380px;">
You have only last few days to deposit ur payment

</div>

        
    
    
    </div>
    </form>
</body>
</html>
