MCQs > IT & Programming > JavaScript > Which choice will change the source of the image to 'image2.gif' when a user clicks on the image?

JavaScript MCQs

Which of the following choices will change the source of the image to "image2.gif" when a user clicks on the image?

Answer

Correct Answer: img id="imageID" src="image1.gif" width="50" height="60" onmousedown="changeimg('image2.gif')" onmouseup="changeimg('image1.gif')"

Explanation:

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

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it