You are here: irt.org | About | Feedback | 220 [ previous next ]
Feedback on:
JavaScript FAQ Knowledge Base Q85
Sent by
Susan Caminiti on June 03, 1999 at 09:13:56:
Worth:
Very worth reading
Comments:
This worked very well using document write, however, is it possible to assign a variable to the SRC property of the image tag when document write is not being used? I have a web page with 50 images (all the same). Rather than write out the URL(which is quite lengthy) for each image, I'd like to use a variable. I duplicated your code then removed the parenthesis and single quotes, but it didn't work, any ideas why?