A.document.forms.myButton
B.document.mainForm.myButton
C.document.forms[0].element[0]
D.以上都可以
您可能感兴趣的试卷
你可能感兴趣的试题
A.是不可能的
B.通过document.write(“新的标题内容”)
C.通过document.title=(“新的标题内容”)
D.通过document.changeTitle(“新的标题内容”)
A.Now();
B.Date()
C.new Date()
D.new Now()
A.Math.floor(Math.random()*6)
B.Math.floor(Math.random()*7)
C.Math. floor(Math.random()*8)
D.Math.ceil(Math.random()*8)
A.s.toSmallCase()
B.s.toLowerCase()
C.s.toUpperCase()
D.s.toUpperChars()
JS语句
var a1=10;
var a2=20;
alert(“a1+a2=”+a1+a2)
将显示()结果
A.a1+a2=30
B.a1+a2=1020
C.a1+a2=a1+a2
D.显示错误
A.x<10
B.x<=10
C.x<20
D.x<=20
A.onclick
B.onmouseover
C.onsubmit
D.onpressbutton
A.if(i<10;i++)
B.for(i=0;i<10)
C.for i=1 to 10
D.for(i=0;i<=10;i++)
A.if(i==0)
B.if(i=0)
C.if i==0 then
D.if i=0 then
A.解释性
B.用于客户端
C.基于对象
D.面向对象