正在加载 效果的实现代码

 

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mytest.aspx.cs" Inherits="CrazyAuchan.mytest" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="Script/core/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(function(){
            $("#btnok").click(function(){
                show();
            });

            $("#loading").click(function () {
                hide();
            });
        });
    </script>
</head>
<body>
    <form />

        <div >

页面加载中...</p> 
        </div> 
<script type="text/javascript"> 
    function show()
    {
        $("#loading").show();
    }

 function hide(){ 
     $("#loading").hide();
 } 
 
</script>

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

 

 


 

相关文章:

  • 2021-05-21
  • 2022-12-23
  • 2021-06-27
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案