Delay redirect in javascript
Delay redirect in javascript |
7.9.2009 10:45:31 - Filed under : Asp.net | Javascript |
<script type="text/javascript"> function delayedRedirect(CategoryID){ window.location = "../Detail.aspx?" + '&CategoryID=' + CategoryID } </script> ClientScript.RegisterStartupScript(this.GetType(), "redirect", "setTimeout('delayedRedirect(" + Request.QueryString["CategoryID"] + ")', 3000)", true); |
Hiç yorum yok