为啥我这个stop 按钮只有第一次有效 而start 一直有效
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>定时器</title>
<style type="text/css">
#clock{background:red #339border:2px dashed blue }
h1{text-align:center }
h1{color:red}
.aa{color:blue}
</style>
</head>
<body>
<h1>显示时间</h1>
<script type="text/javascript">
// var attime;
function clock(){
var time=new Date();
attime=time.getHours()+":"+time.getMinutes()+":"+time.getSeconds();
document.getElementById("clock").value = attime;
}
var i=setInterval(clock,1000);
function b()
{var i=setInterval(clock,1000)}
function c()
{
var cc=clearInterval(i,1000)
}
</script>
<form>
<input type="button" id="clock" size="50" value="clock()"/>
</form>
<p class="aa">我有一所房子,面朝大海春暖花开。</p>
<p>喂马 劈柴 周游世界</p>
<input type="button" value="start" onClick="b()">
<input type="button" value="stop" onClick="c()">
</body>
</html>