【单选题】【消耗次数:1】
下面( )不是document对象的方法。
getElementsByName( )
getElementById( )
write( )
reload( )
参考答案:
复制
纠错
相关题目
【单选题】 下面( )不是document对象的方法。
①  getElementsByTagName( )
②  getElementById( )
③  write( )
④  reload( )
【单选题】 下面( )不是document对象的方法。(选择一项)
①  getElementsByName( )
②  getElementById( )
③  write( )
④  reload( )
【单选题】 下面( )不是document对象的方法。(选择一项)
①  getElementsByTagName( )
②  getElementById( )
③  write( )
④  reload( )
【多选题】 关于document对象的常用方法,以下说法正确的有:()
①  getElementById( ) 返加拥有指定id的第一个对象的引用
②  getElementById( ) 返加拥有指定id的对象的集合
③  getElementsByName( ) 返加拥有指定名称的对象的集合
④  write() 向文档写文本,HTML表达式或javascript代码
【单选题】 在JavaScript中,运行下面代码后的返回值是( )。 var flag = true; document.write(typeof(flag));
①  undefined
②  null
③  number
④  boolean
【单选题】 关于document对象的常用方法,以下说法错误的有:()(选择一项)
①  getElementById( ) 返加拥有指定id的第一个对象的引用
②  getElementById( ) 返加拥有指定id的对象的集合
③  getElementsByName( ) 返加拥有指定名称的对象的集合
④  write() 向文档写文本,HTML表达式或javascript代码
【单选题】 分析下面的JavaScript代码段,输出结果是()。 var mystring=I am a student; a=mystring.charAt(9); document.write(a);
①  I am a st
②  u
③  udent
④  t
【单选题】 在JavaScript中,运行下面代码后的返回值是( )。var flag = true;document.write(typeof(flag));(选择一项)
①  undefined
②  null
③  number
④  boolean
【单选题】 分析下面的JavaScript代码段,输出结果是()。var mystring=I am a studenta=mystring.charAt(9);document.write(a);(选择一项)
①  I am a st
②  u
③  udent
④  t
【单选题】 分析下面的JavaScript代码段,输出的结果是()。 emp=new Array(5); emp[1]=1; emp[2]=2; document.write(emp.length);
①  2
②  3
③  4
④  5
随机题目
【单选题】 Who _______ your pets when you are not at home?
①  takes care
②  looks care
③  takes care of
【单选题】 The food _______ we ate in the dining hall is very delicious.
①  where
②  which
③  who
【单选题】 My mother had me _______for her after class.
①  be waiting
②  waited
③  wait
【单选题】 Is she still angry _______what Tom has done?
①  to
②  with
③  about
【单选题】 What do think of the industrial park _______ we visited last month?
①  of which
②  which
③  where
【单选题】 He’s got an assignment in Tokyo, so he _______work abroad.
①  is going to
②  wants
③  would like to
【判断题】 A: How is the child? B: He is much better.
①  正确
②  错误
【判断题】 Tommy enjoys to study opera.
①  正确
②  错误
【判断题】 It’s not safe to play on the road.
①  正确
②  错误
【判断题】 A: Haven’t seen you for ages! You look fine! B: Great. You look well, too.
①  正确
②  错误