/ Published in: JavaScript
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var value; var theDoc = window.document; var i = 9; do { value = theDoc.getElementById("product_"+i).value; // ...whatever ... } while (--i);
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)