单项选择题
在JavaScript中,下列选项中关于window对象的open()方法描述正确的( )
A、open()方法的作用是打开具有指定名称的新窗口,并加载给定URL所指定的文档
B、open()方法的作用是显示一个带有提示信息确定按钮的对话框
C、open()方法作用是显示一个带有提示信息、确定和取消按钮的对话框
D、open()方法作用是显示一个提示用户输入的对话框
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
在JavaScript中,下列有关于自定义函数的说法错误的是()。
A、自定义函数的关键字是“function”
B、自定义函数必须带有参数
C、自定义函数被调用时接受的参数可以是常量、变量或其他表达式
D、自定义函数返回结果的关键字是“return”
点击查看答案&解析
单项选择题
阅读下面的Javascript代码,输出结果正确的是() Var i=0; for(i=0;i<=5;i++){ if(i==3){continue} document.write(‘’Thenumberis”+i); document.write(“”);}
A、The number is 3
B、The number is 0 The number is 1The number is 2
C、The number is 0The number is 1 The number is 2 The number is 4 The number is 5
D、The numbe is 3 The number is 4 The number is 5
点击查看答案&解析
相关试题
The main idea of the story is tha...
When we dream,().
Which of the following is true?(...
Why do some people often dream abo...
If the patient is rational and pos...