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![Smile :) :)](/styles/default/xenforo/vbSmilies/Normal/smile.gif)
can anyone set me straight???
cheers
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
![Smile :) :)](/styles/default/xenforo/vbSmilies/Normal/smile.gif)
can anyone set me straight???
cheers