Javascript 实现延迟跳转

 

1 <asp:Literal   ID="LiteralRedirect" runat="server" Text=" <% $SPResources:NGFSShared, Redirect %> " />
2  < script language = " JavaScript "  type = " text/javascript " >
      
3       var  time  =   null
4       function  move() {
5          window.location  =   ' <% = Request.QueryString["Redirect"]  %> '
6      }
7      timer  =  setTimeout( ' move() ' 3000 );
8  < / script>

 

 

你可能感兴趣的:(JavaScript)