Return to Snippet

Revision: 10091
at December 8, 2008 02:39 by stellit


Initial Code
var value;
var theDoc = window.document;
var i = 9;
do {
value = theDoc.getElementById("product_"+i).value;
// ...whatever ...
} while (--i);

Initial URL

                                

Initial Description

                                

Initial Title
Faster "for" loop in javascript

Initial Tags

                                

Initial Language
JavaScript