A question about Javascript's IMAGE object. I'm preloading an image from a remote website into the client's web browser. I would then like to create a new visible image object onscreen and so from what i gather i must create a new <IMG> tag as follows:
<SPAN id="NewImageDisplay" />
<script>
NewImageDisplay.innerHTML+="<img src="+imgRemoteSite.src+">";
</script>
My question is once i have provided the imgRemoteSite.src which appears to be simply a URL can i remove the imgRemoteSite object by making it = NULL or other means to free up the image object? Or will this kill the cached image from the remote site making the newly appended tag useless?
Tx


Reply With Quote
Bookmarks