Lesson 35: The Script and Its Effect
The Script
We'll now count from 1 to 5: <BR>
<script language="JavaScript">
for (i=1; i<=5; i=i+1)
{
document.write(i + "<BR>");
}
</SCRIPT>
...and we're done.
The Script's Effect
We'll now count from 1 to 5:
...and we're done.
Back to the Index Page