<html>
<SCRIPT LANGUAGE='JavaScript'>
<!--
forLoop1:
for (var counter1 = 1; counter1 <= 5; counter1++)
{
for (var counter2 = 1; counter2 <= 5; counter2++)
{
document.write("Counter1=",counter1);
document.write(" Counter2=",counter2,"<BR>");
if (counter2 == 3)
break;
if (counter1 == 3)
break forLoop1;
}
}
document.write("All done!");
//-->
</SCRIPT>
</html>
|