JSタイマークリアタイマー
2271 ワード
<script>
// Id
var insetId=setInterval(function () {
alert(" ");
},1000);
// , , ,
// Id
var setId=setTimeout(function () {
alert(" ");
},1000);
//
clearTimeout(setId);
clearInterval(insetId);
script>