Greelmo
05-20-2003, 03:43 PM
why doesn't this work!!??
<html>
<head>
<title>Hello</title>
<SCRIPT LANGUAGE="JavaScript">
var boxy=new Array("This", "is", "a", "box");
function fncbox()
{
for (i=0; i<=3; i++){dexter=setTimeout(document.formy.texty.value=boxy[i], 1000);}
}
</script>
</head>
<body onLoad="fncbox();">
<form name="formy">
<input type=text name="texty">
</form>
</body>
</html>
:confused:
<html>
<head>
<title>Hello</title>
<SCRIPT LANGUAGE="JavaScript">
var boxy=new Array("This", "is", "a", "box");
function fncbox()
{
for (i=0; i<=3; i++){dexter=setTimeout(document.formy.texty.value=boxy[i], 1000);}
}
</script>
</head>
<body onLoad="fncbox();">
<form name="formy">
<input type=text name="texty">
</form>
</body>
</html>
:confused: