home

Javascript Loops Tutorial


Loops


 /*
  Loops are used to perform an action a number of times
  the keword is for
 */
 var i = 0
 for(i=0; i<=10; i++)
 {
  document.write(i + ". Shahid <BR><HR>")
 }
 
      <script type="text/javascript">
/*
Loops are used to perform an action a number of times
the keword is for
*/
var i = 0
for(i=0; i<=10; i++)
{
document.write(i + ". Shahid <BR><HR>")
}

</script>


Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Copyright © 2014 by Cramerz.com.