Multiple Choices
(Choose 1
function change(obj)
answer)
{ } var tag=document.getElementById("demo");tag.src=obj.src;
<body><img src="image.jpg" id="demo"><img src="image2.jpg" onmouseover="change(this)">
</body>
What output is right of above function?
A. To change the src property of the image with id="demo"
B. To change the src property of the image
C. To change the src property of the image that holds the event
D. None of the others
want to unisin the exam.