Forum Moderators: open
How would I convert this to an attribute that is within the the XHTML standard? Here is my code currently? I am think that the tag "id" is going to be used but I do not how to convert my code.
Javascript
var image1a=new Image();
image1a.src='Images/German Maglev/Medium/Germanmaglev_medium_001.jpg';
var image2a=new Image();
image2a.src='Images/German Maglev/Medium/Germanmaglev_medium_002.jpg';
HTML
<img src="Images/German Maglev/Medium/GermanMaglev_medium_001.jpg" name="image" alt="" width="450" height="337"/>
Thanks
Josh