javascript problem again, adding values up
okay here it is
var barPosition = 25;
document.getElementById("rightTextPosition").value = barPosition;
document.getElementById("rightTextPosition").value += 2;
end result of this is 252, and not 27 ....WHY ?!
and this
var barPosition = 25;
document.getElementById("rightTextPosition").value = barPosition;
document.getElementById("rightTextPosition").value -= 2;
end result is 23 and that is correct..
I probably know the answer somewhere in my messy head, BUT at the moment I have no clue....
