How to increment without a ++ operator?
I have a for loop and would like to increment a variable for (let's say) 2 instead of one (++).
How can I do that?
I have tried for instance x + 2 instead of x++ but when I try it in IE an error saying that a script is making IE to run slowly and then nothing happens.
So how to do this?
You didn't even read my post :(
I said that x+2 doesn't work!
Is there anything else that can be used?
Check this two almost identical pages. First with x++ and the second with x+2. You'll see the difference.