Forum Moderators: open
var wordbank = new Array ("");
wordbank[0] = new Array("Help","This is the question","This is the answer","1");
var wordbank = [
["Help","This is the question","This is the answer","1"],
["Another","Another question","Another answer","2"]
];
var wordbank = [
["Help","This is the question","http://example.com/img/answer1.png","1"],
["Another","Another question","http://example.com/img/answer2.png","2"]
];
var answer1img = document.getElementById('answer1img');
answer1img.src = wordbank[0][2];
var answer1container = document.getElementById('answer1container');
var answer1img = document.createElement('img');
answer1img.src = wordbank[0][2];
answer1container.appendChild(answer1img);
:: looking vaguely around for fotiman or someone like him, who actually speaks javascript ::
Fotiman.respond("Here I am!");