Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHTML image load problem

Status
Not open for further replies.

krymzon

Programmer
Feb 22, 2005
38
0
0
CA
function imageload()
{
img = //arbitrary image file;
obj = document.getElementById("Results_myImg");
obj.src = img;
}

The problem here, is that this method will not work under IE for some reason. I've been scratching my head for a day now, and it seems like the simplest of code. Note, this works perfectly in firefox.
Any idea's why IE wouldn't accept this?

--there are 10 types of people in this world. those who know binary, and those who don't.--
 
its just a link to an image server. The image is there, and its been testedas a static source to an image tag so it works, so the link doesn't matter.

--there are 10 types of people in this world. those who know binary, and those who don't.--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top