I have a loop that is running and I am trying to increment a number by one each time. Here is what I am doing, but each time it just writes out 1 for the value.
var i=1;
Start of Loop
document.write(i);
var i=i++;
End of loop
It just writes out 1 each time though. Any help would be greatly appreciated.
var i=1;
Start of Loop
document.write(i);
var i=i++;
End of loop
It just writes out 1 each time though. Any help would be greatly appreciated.
Comment