Computing.Net > Forums > Web Development > Images in Javascript with http:// l

Images in Javascript with http:// l

Reply to Message Icon

Original Message
Name: Spinal
Date: June 9, 2004 at 11:23:18 Pacific
Subject: Images in Javascript with http:// l
OS: Win2K
CPU/Ram: 1Gb/1Ghz
Comment:

Hello! Im trying to insert an image using javascript. My problem is, i cant use the standard:
document.images["image_name"]
This is because the image is in a totally different folder. I have a variable:
var url = "http://www.myserver.com/"+"imagename"
this is because the var imagename changes daily. Does anyone know how to retrieve an image from a string var which stores the url.
THanx, Michele


Report Offensive Message For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Images in Javascript with http:// l

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software