使用JavaScript脚本进行表单数据验证时,需要使用document对象的哪个方法来获取表单元素? A: getElementbyid B: getElementById C: getElementBYId D: GetElementById
使用JavaScript脚本进行表单数据验证时,需要使用document对象的哪个方法来获取表单元素? A: getElementbyid B: getElementById C: getElementBYId D: GetElementById
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?() 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"; }
创建一个窗口frame的语句是( )。 A: window = new Window() B: window = Window() C: window = Frame() D: frame = wx.Frame(None)
创建一个窗口frame的语句是( )。 A: window = new Window() B: window = Window() C: window = Frame() D: frame = wx.Frame(None)
Nothing was found but ___ broken. A: the room window B: the room’s window C: the room of the window D: the window of room
Nothing was found but ___ broken. A: the room window B: the room’s window C: the room of the window D: the window of room
Do you mind my ______ A: open the window B: that open the window C: opening the window D: to open the window
Do you mind my ______ A: open the window B: that open the window C: opening the window D: to open the window
Please go to ______ to pick up your ID card. A: third window B: the window three C: window third D: the third window
Please go to ______ to pick up your ID card. A: third window B: the window three C: window third D: the third window
He asked if ______________________. A: shall I open the window B: I shall open the window C: he should open the window D: shall he open the window
He asked if ______________________. A: shall I open the window B: I shall open the window C: he should open the window D: shall he open the window
window对象的属性在调用时可省略window,但方法调用不能省略window。()
window对象的属性在调用时可省略window,但方法调用不能省略window。()
在DOM中,获取id=“wen”的标签元素的写法: A: document.getelementbyid("wen") B: document.getElementById("wen") C: window.getElementById("wen") D: document.getElementBytag("wen")
在DOM中,获取id=“wen”的标签元素的写法: A: document.getelementbyid("wen") B: document.getElementById("wen") C: window.getElementById("wen") D: document.getElementBytag("wen")
“Please close the window,” he said to me. →He ______ me _____ the window
“Please close the window,” he said to me. →He ______ me _____ the window