单项选择题
下列不属于文档对象的方法的是()
A.createElement
B.getElementById
C.getElementByName
D.forms.length
点击查看答案
相关考题
-
单项选择题
如何在浏览器的状态栏放入一条消息?()
A.statusbar = "put your message here"
B.window.status = "put your message here"
C.window.status("put your message here")
D.status("put your message here") -
单项选择题
打开名为“window 2”的新窗口的JavaScript语法是()
A.open.new("http://www.w3schools.com","window2")
B.window.open("http://www.w3schools.com","window2")
C.new("http://www.w3schools.com","window2")
D.new.window("http://www.w3schools.com","window2") -
单项选择题
如何求得2和4中最大的数?()
A.Math.ceil(2,4)
B.Math.max(2,4)
C.ceil(2,4)
D.top(2,4)
