Home › Forums › Decaffeinated Coffee › Doublepostititis › Reply To: Doublepostititis
July 9, 2012 5:36 pm at 5:36 pm
#1089193
RBS_gimmel
Participant
to save yourself some time and not have to type all those words, just put this in an HTML page, and run it
<script language=”javascript” type=”text/javascript”>
var phrase = “Enter your phrase here”;
for (var i = 0; i <= phrase.length; i++) {
document.write(phrase.substring(0,i) + “
“);
}
</script>
result:
E
En
Ent
Ente
Enter
Enter
Enter y
Enter yo
Enter you
Enter your
Enter your
Enter your p
Enter your ph
Enter your phr
Enter your phra
Enter your phras
Enter your phrase
Enter your phrase
Enter your phrase h
Enter your phrase he
Enter your phrase her
Enter your phrase here