Question:You have defined an image tag as follows:
<img id="ERImage" width="100" height="100" onmouseover="ImageChange()"  src="Image1.jpg">
The purpose of the ImageChange() function is to change the image source to "Image2.jpg". What will the ImageChange() function look like? 

A document.getElementById(' ERImage ').src=" Image1.jpg " 

B document.getElementById(' ERImage ').src=" Image2.jpg " 

C document.getElementById(' ERImage ').style.src=" Image1.jpg " 

D document.getElementById(' ERImage ').style.src=" Image2.jpg " 

+ Answer
+ Report
Total Preview: 1242

Copyright © 2024. Powered by Intellect Software Ltd