我什么都试过了,我做不到!!!这是我的代码,请帮助:
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="favicon.ico"/>
<title>Doughtnut Box !</title>
<!--Design-->
<style>
</style>
<!--jQuery and Javascript-->
<script>
var doughnut = 0;
window.setInterval(
doughnut + 1
,1000);
document.getElementById("doughnuts").innerHTML="You have " + doughnut >+ " doughnuts!";
</script>
</head>
<body>
<h3 id="doughnuts"></h3>
</body></html>
谢谢你的代码,真的很棒!现在如何保存它,以便在刷新时它不会重新开始?