var add = 100;
var el = document.getElementById("content");
var w = parseInt(el.width);
el.style.width = add + "px";
But! It won't work as I expected. When I use console.log(); it does repeat the function many times, but it does not increment the value. Why is that? Can somebody explain what I'm doing wrong?