【单选题】【消耗次数:1】
在告警消息框中输出hello world!”信息正确的是( )。
alertBox(hello world!)
msgBox(hello world!)
alert(hello world!”)
alertMsg(hello world!)
参考答案:
复制
纠错
相关题目
【单选题】 如何在警告框中写入 Hello World?( )
①  alertBox=Hello World
②  msgBox(Hello World)
③  alert(Hello World)
④  alertBox(Hello World)
【单选题】 写 Hello World 的正确 Javascript 语法是?( )
①  (Hello World)
②  Hello World
③  response.write(Hello World)
④  document.write(Hello World)
【单选题】 有如下声明:string a=hello,b=world;以下操作不正确的是()。
①  a=b
②  a+b
③  strlen(a)
④  ab
【判断题】 A: Hello? 152-3951 B: Hello, is Anna there?
①  正确
②  错误
【判断题】 A: Hello? 152-3951 B: Hello, is Anna there?
①  正确
②  错误
【单选题】 Hello,I’mHarryPotter.Hello,mynameisCharlesGreen,but_______.
①  callmyCharles
②  callmeatCharles
③  callmeCharles
④  callCharlesme
【单选题】 —Hello,I’mHarryPotter.—Hello,mynameisCharlesGreen,but____________.<br/>
①  callmyCharles
②  callmeatCharles
③  callmeCharles
④  callCharlesme
【单选题】 Hello, is that Shanghai Airlines?
①  Yes, can I help you?
②  Yes, what do you want?
③  Yes, you’re right
④  Yes, right number
【单选题】 Hello,mayIspeaktoMr.Brown?—_______________________.
①  No,youcan’t
②  Sorry,heisn’tin.
③  Whoareyou?
④  Whydoyouwanttospeaktohim?
【单选题】 The pavilions of each country at the World Expo can reveal the ( ) cultures of the world.
①  diversity
②  diversify
③  divert
④  diverse
随机题目
【单选题】 以下不属于javascript中提供的常用数据类型的是:( )
①  undefined
②  null
③  number
④  iterator
【单选题】 下列语句中,()语句是根据表达式的值进行匹配,然后执行其中的一个语句块,如果找不到匹配项,则执行默认语句块
①  switch
②  if-else
③  for
④  字符串运算符
【多选题】 下列选项中,( )可以打开一个无状态栏的页面。
①  window.open(advert.html);
②  window.open(advert.html,广告,toolbar=1,scrollbars=0,status=1);
③  window.open(advert.html,,scrollbars=1,location=0,resizable=1);
④  window.open(advert.html,,toolbars=0, scrollbars=1, location=1, status=no);
【多选题】 某页面中有如下代码,下列选项中( )能把“令狐冲”修改为“任盈盈”。 张三丰 90 令狐冲 88
①  document.getElementById(Table1).rows[2].cells[1].innerHTML=任盈盈;
②  document.getElementById(Table1).rows[1].cells[0].innerHTML=任盈盈;
③  document.getElementById(row2).cells[0].innerHTML=任盈盈;
④  document.getElementById(row2).cells[1].innerHTML=任盈盈;
【多选题】 在javaScript中,有如下代码,选项中都能够得到“李四”的是()。 姓名 年龄 工资 张三 30 5000 李四 25 4500
①  var tb=document.getElementById(employee); var strHtml=tb.lastChild.lastChild.firstChild.value;
②  var tb=document.getElementById(employee); var strHtml=tb.lastChild.lastChild.firstChild.innerHTML;
③  var r=document.getElementById(row3);var strHtml=r.firstChild.HTML;
④  var r=document.getElementById(row3); var strHtml=r.firstChild.value;
【多选题】 下列( )可以使窗口显示前一个页面
①  back( )
②  forward( )
③  go(1)
④  go(-1)
【单选题】 setTimeout(adv( ),20)表示的意思是
①  间隔20秒后,adv()函数就会被调用
②  间隔20分钟后,adv()函数就会被调用
③  间隔20毫秒后,adv()函数就会被调用
④  adv()函数被持续调用20次
【单选题】 JavaScript是运行在()的脚本语言。
①  服务器端
②  客户端
③  在服务器运行后,把结果返回到客户端
④  在客户端运行后,把结果返回到服务端
【单选题】 在HTML页面上包含如下所示的页面代码, 要求编写JavaScript语句清空下拉选择框country的选项内容, 则选项中的语句正确的是( )。 中国 美国
①  document.form1.country.options.size=0;
②  document.form1.country.options.length=0;
③  document.form1.country.options.value=;
④  document.form1.country.value=;
【单选题】 下面( )能在页面中弹出如下图所示的提示窗口,并且用户输入框中默认无任何内容。(带图,图传不上)
①  prompt(请输入你的姓名:);
②  alert(请输入你的姓名:);
③  prompt(请输入你的姓名:,);
④  alert(请输入你的姓名:,);