Code:
var foo = null; // object

function doMove() {
  foo.style.opacity = foo.style.opacity+ 0.1;
  setTimeout(doMove,20); // call doMove in 20msec
}

function init() {
  foo = document.getElementById('wrapper'); // get the "foo" object
  foo.style.opacity = 0; // set its initial position to 0px
  doMove(); // start animating
}

init();
I want to change the opacity of the node from 0 to 1... however it is only taking it to 0.1...

I'm sure it is something very obvious