All i want to do is to call the FOR variable inside my loop. But for some reason is not working...
HTML
<span id="1"></span>
<span id="2"></span>
<span id="3"></span>
JAVASCRIPT
for (j = 0; j < 3; j++) {
var product = j;
document.getElementById(product).innerHTML = "blah";
}