javascript noob question.

Soldato
Joined
4 Jan 2004
Posts
7,727
Location
Nottingham
hey all, im very very new to javascript and have a simple question.

ive got an array called images in a for loop in the .js file that reads in the names, locations and file extensions of several image files. e.g.:

Images/image01.gif.

i want to display the images in a table in the html page, so how do i link the array to the <img src=> function??

i tried <img src="javascript:image[1]"> and other things similar to that but nadda. being such a noob this is probs completly wrong :)

can anyone set me straight???

cheers
 
Back
Top Bottom