JQuery Redirect to URL after specified time

前端 未结 9 934
感动是毒
感动是毒 2020-12-07 17:20

Is there a way to use JQuery to redirect to a specific URL after a give time period?

9条回答
  •  失恋的感觉
    2020-12-07 18:10

    just use:

    setTimeout("window.location.href='yoururl';",4000);
    

    ..where the '4000' is m.second

提交回复
热议问题