You working at the uni now? Very very long time no speak.
var i = 0;
and not just
i = 0;
Also, once I'd made changes, I found it hard to get IE to clear it's cache, the normal-shift-and refresh wasn't working, but shutting down the browser and restarting made it pick up the changes.
js: Programming language of the internets, mostly how I make my living.
Paul Clarke's weblog - I live in A small town. Wed and dad to 2, I am a full-stack web developr, + I do js / nodejs, some ruby, python, php etc. I like pubbing, parkrun, restaurants, home-automation and other diy jiggery-pokery, history, genealogy, TV, squirrels, pirates, lego, and time travel.