MCQs > IT & Programming > DHTML > You have defined an image tag as follows: How would you implement ImageChange() function, if the new image to be set for mouseover is Image2.jpg? - DHTML | Quizack

DHTML MCQs

You have defined an image tag as follows:

<img id="ERImage" width="100" height="100" onmouseover="ImageChange()"  src="Image1.jpg">

How would you implement ImageChange() function, if the new image to be set for mouseover is Image2.jpg?

Answer

Correct Answer: document.getElementById('ERImage').src="Image2.jpg"

Explanation:

Note: This Question is unanswered, help us to find answer for this one

DHTML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

DHTML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it