$(document).ready(function(){ setTimeout(function(){ window.location.href = "/zcy/reg.html"; }, 3000); });