By admin | January 26, 2008

Iteration in JavaScript

A lesson for the beginners - how to use iteration in Javascript

<html>
<body>
<script>
   <!–
           b=1      
           while (b>6){
                b= document.write(b);b+1;
           }
           document.write(b,”<br>”);
      –>
</script>
</body>
</html>

Digg Facebook Technorati Bloglines

Email This Post Email This Post
Topics: Scripts |

Leave a Comment

Name:

E-Mail :

Website :

Comments :

Ad
Ad

Forum

Calendar

August 2008
M T W T F S S
« Jun «-»  
 123
45678910
11121314151617
18192021222324
25262728293031

Search

Polls

  • Who will rule the world?

    View Results

    Loading ... Loading ...