Declare for loop counter
<HTML> <HEAD> <SCRIPT language="JavaScript"> for (count=1;count<16;count+=1) { document.write(count+"<BR>"); } </SCRIPT> </HEAD> <BODY> </BODY> </HTML>