1<html>
2 <body>
3
4 <script type = "text/javascript">
5 <!--
6 var count = 0;
7 document.write("Starting Loop ");
8
9 while (count < 10) {
10 document.write("Current Count : " + count + "<br />");
11 count++;
12 }
13
14 document.write("Loop stopped!");
15 //-->
16 </script>
17
18 <p>Set the variable to different value and then try...</p>
19 </body>
20</html>
1<html>
2 <body>
3 <script language = "javascript" type = "text/javascript">467</script>
8
9 <noscript>
10 Sorry...JavaScript is needed to go ahead.
11 </noscript>
12 </body>
13</html>