当前位置:MCTS(70-515)题库

问题:

[单选]

You create a Web page that contains the following image element.
You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?()

A . function changeImage() {myImage.src = "image2.png"; }
B . function changeImage() { document.getElementById("myImage").src = "image2.png"; }
C . function changeImage() { getElementById("myImage").src = "image2.png"; }
D . function changeImage() { window.getElementById("myImage").src = "image2.png"; }

医疗安全不良事件上报形式有()、()、()。 如何划分龄组? 简述管理信息系统与计算机科学之间的关系。 局域网的典型特性是低数据速率,小范围,高误码率。 简述意见沟通的障碍。

You create a Web page that contains the following image element.
You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?()

参考答案:

  参考解析

本题暂无解析

在线 客服