<!doctype html ">?<head>?? <meta charset="uttf-8">? <title> new document </title>? ?</head>?<body>? <input type="button" value="button" onClick="close()">?</body>? <script type="text/javascript">var times;var fn=function(){alert("java");times=setTimeout(fn,2000);};var close=function(){clearTimeout(times);}fn();</script></html>瀏覽器提示的錯誤HTML 文檔使用 meta 標簽聲明了一個不支持的字符編碼。該聲明被忽略。改了還是不行關閉不了
js定時器哪里錯了怎么改
慕粉3884565
2016-10-24 14:04:01