for i loop

Results 1 to 2 of 2

Thread: for i loop

  1. #1
    Join Date
    Dec 1969

    Default for i loop

    How do I perform a "for i = n to n loop" in javascript, similar to the one in vbscript?<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: for i loop

    *<BR>for (n=0;n&#060;y;n++){ <BR>the code you want<BR>} <BR><BR>_______________<BR><BR>The "0" parameter in "n=0" is the number you want init and the "y" parameter in "n&#060;y" is the maximun. "n++" is plus one.<BR><BR>Regards<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts