D
Darren
Hi i have this code
var newsTab=document.getElementById("newsTab");
newsTab.href="latestTabClosed.gif";
where "newstab" is an Image placeholder
<img name="newsTab" id="newsTab" src="" width="256" height="32" alt="News
Tab">
In the documents i've read this is the way to dynamically change an image
but all i get is a "Object doesn't support this action" error. Why?
Thanks in advance.
var newsTab=document.getElementById("newsTab");
newsTab.href="latestTabClosed.gif";
where "newstab" is an Image placeholder
<img name="newsTab" id="newsTab" src="" width="256" height="32" alt="News
Tab">
In the documents i've read this is the way to dynamically change an image
but all i get is a "Object doesn't support this action" error. Why?
Thanks in advance.