Have a look at this simple piece of code and tell me what’s wrong…..please!
Before I hang myself.
[CODE]
<html>
<head>
<title>Secure Form</title>
<script language=”javascript”>
var idx=0;
function showDots(){
idx++;
switch(idx){
case 1:
document.getElementById(“D1″).innerText=”.”;
break;
case 2:
document.getElementById(“D1″).innerText=”..”;
break;
case 3:
document.getElementById(“D1″).innerText=”…”;
break;
case 4:
idx=0;
document.getElementById(“D1″).innerText=””;
break;
}
setInterval(“showDots()”, “1000”);
}
</script>
</head>
<body bgcolor=”navy” text=”white” onload=”showDots()”>
<br>
<center>
please wait…
<br>
processing<div id=”D1″> </div>
</body>
</html>
the code is not really important, I was just wanting a visible processing script
thanks guys.