网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
以下哪个选项中的方法全部属于window对象:()
- A、alert,clear,close
- B、clear,close,open
- C、alert,close,confirm
- D、alert,setTimeout,write
参考答案
更多 “以下哪个选项中的方法全部属于window对象:()A、alert,clear,closeB、clear,close,openC、alert,close,confirmD、alert,setTimeout,write” 相关考题
考题
声明一个对象,给它加上name属性和show方法显示其name值,以下代码中正确 的是( )。
Avarobj = [name:"zhangsan",show:function(){alert(name);}];Bvarobj = {name:"zhangsan",show:”alert()”};Cvarobj = {name:"zhangsan",show:function(){alert(name);}};Dvarobj = {name:"zhangsan",show:function(){alert();}};
考题
The door was ( ) shut, but we could still hear their heated discussion loud and ( ).
A、closely/ clearlyB、closely/ clearC、close/ clearlyD、close/ clear
考题
On the top was the clear outline of a great wolf sitting still, ears (), alert, listening.A、pointedB、pointingC、are pointedD、are pointing
考题
YouareworkingontheCertkillerdatabase.Whatisthedefaultnameofthealertlogfileinthisdatabase?()
A.alert_Certkiller.logB.alertlog_Certkiller.logC.alert_log_Certkiller.logD.Certkiller_alert_log.logE.log_alert_:Certkiller.logF.trace_alert_Certkiller.log
考题
关闭多区的表文件,并释放所有的内存变量,命令为______。A.CLEAR ALL或CLOSEB.CLEARALLp2或CLOSEALLC.CLEAR或CLOSEALLD.CLEAR或CLOSE
考题
关闭多区的表文件,并释放所有的内存变量,命令为______。A.CLEAR ALL或CLOSEB.CLEAR ALL或CLOSE ALLC.CLEAR或CLOSE ALLD.CLEAR或CLOSE
考题
将当前表单从内存中释放的正确语句是( )。A.ThisForm.Close B.ThisForm.Clear
将当前表单从内存中释放的正确语句是( )。A.ThisForm.CloseB.ThisForm.ClearC.ThisForm.ReleaseD.ThisForm.Refresh
考题
在JavaScript中,下列代码可以实现每隔5秒弹出"5秒到了!"的是( )
A.setTimeOut("alert('5秒到了!')",5)B.setTimeOut("alert('5秒到了!')",5000)C.setInterval("alert('5秒到了!')",5)D.setInterval("alert('5秒到了!')",5000)
考题
以下哪个语句能正确弹出结果: ( )
A. alert(new Date(2011 , 12 , 25).getDay());B. alert(new Date(2011 , 12 , 25 , 5).getDay());C. alert(new Date(2011 , 12 , 25 , 5 , 5 , 9).getDay());D. 以上三个结果都正确
考题
Window对象是代表Internet Explorer窗口的对象,其属性、方法和事件可以不经限定就可以直接使用。比如Window.Alert“stop”也可以直接写成:Alert“stop”这种说法是正确的还是错误的?()
A.正确B.错误
考题
It’s going to rain. Don’t forget ()the hatches.A、to closeB、to openC、to close and openD、closing
考题
Window对象是代表Internet Explorer窗口的对象,其属性、方法和事件可以不经限定就可以直接使用。比如Window.Alert“stop”也可以直接写成:Alert“stop”这种说法是正确的还是错误的?()A、正确B、错误
考题
以下哪个语句能正确弹出结果:()A、alert(new Date(2011 , 12 , 25).getDay());B、alert(new Date(2011 , 12 , 25 , 5).getDay());C、alert(new Date(2011 , 12 , 25 , 5 , 5 , 9).getDay());D、以上三个结果都正确
考题
看以下JavaScript程序:varx=prompt(“请输入1-5的数字!”);switch(x){case“1”:alert(“one”);case“2”:alert(“two”);case“3”:alert(“three”);case“4”:alert(“four”);case“5”:alert(“five”);default:alert(“none”);}运行以上程序,在提示对话框中输入“4”,依次弹出的对话框将输出()。A、four,five,noneB、four,noneC、fiveD、five,none
考题
Window对象是代表Internet Explorer窗口的对象,其属性、方法和事件可以不经限定就可以直接使用。比如Window.Alert“stop”也可以直接写成:Alert“stop”
考题
You are working on the Certkiller database. What is the default name of the alert log file in this database?()A、alert_ Certkiller .logB、alertlog_ Certkiller .logC、alert_log_ Certkiller .logD、Certkiller _alert_log.logE、log_alert_: Certkiller .logF、trace_alert_ Certkiller .log
考题
单选题以下哪段代码不能正确创建函数show()?()A
function show(text){ alert(text); }B
var showFun = function show(text){ alert(text); }C
var showFun = function(text){ alert(text); }D
var showFun =new function(text , alert(text)};
考题
单选题以下哪个选项中的方法全部属于window对象:()A
alert,clear,closeB
clear,close,openC
alert,close,confirmD
alert,setTimeout,write
考题
( 难度:中等)以下哪个语句能正确弹出结果: ( )A.alert(new Date(2011 , 12 , 25).getDay());B.alert(new Date(2011 , 12 , 25 , 5).getDay());C.alert(new Date(2011 , 12 , 25 , 5 , 5 , 9).getDay());D.以上三个结果都正确
考题
( 难度:中等)以下哪个不是JavaScript 输出数据的方式()A.window.show()B.document.write()C.consollog()D.window.alert()
热门标签
最新试卷