1秒ごとにドットを画面に表示していくJavaScriptのサンプルを作成してみた。


---------ここから---------


<html>

<head>
<title>
サンプル
</title>
<script type="text/javascript">
<!--
var AccumDot = "処理中です";
function printDot() {
  AccumDot = AccumDot + ".";
document.F1.T1.value = AccumDot;
window.setTimeout("printDot()", 1000);//msec ミリ秒後に指定した処理を行います。
}
// -->
</script>
</head>

<body onload="printDot()">
<form name="F1" action="#">
<input type="text" name="T1" size=50 style="background-color:transparent;border-style:none;"><!-- 背景を透明にして枠線をなくす -->
</form>
</body>

</html>

---------ここまで---------