<body> <h2>操作成功<h2/> <span id="sec">5<span/> <span>秒后回到主页<input type="button" value="返回" onclick="dd()"> </span><!--先编写好网页布局--> <script type="text/javascript"> var secd=document.getElementById("sec").innerHTML; function lala(){ secd--; document.getElementById("sec").innerHTML=secd; };setInterval("lala()",1000);<script/>
添加回答
举报
0/150
提交
取消