让html里的js脚本延迟5秒运行

setTimeout( function(){
//add your code
}, 5 * 1000 );//延迟5000毫米
posted @ 2017-12-21 13:16  liu_xh  阅读(16670)  评论(0编辑  收藏  举报