<html>
<head><title></title>
<script>
function add(){
document.getElementById("o_text").value=String(1+Number(document.getElementById("o_text").value));
}
function init(){
setInterval(add,1000);
}
</script>
</head>
<body onLoad="init();">
<input id="o_text" value="0" type="text"/>
</body>
</html>