【单选题】【消耗次数:1】
某页面中有一个id为main的div,div中有两个图片和一个文本框,下列( )能够完整地复制节点main及div中所有的内容。
document.getElementById(main).cloneNode(true);
document.getElementById(main).cloneNode(false);
document.getElementById(main).cloneNode( );
main.cloneNode( );
参考答案:
复制
纠错
相关题目
【单选题】 某页面中有一个id为main的div,div中有两个图片和一个文本框,下列( )能够完整地复制节点main及div中所有的内容。(选择一项)
①  document.getElementById(main).cloneNode(true);
②  document.getElementById(main).cloneNode(false);
③  document.getElementById(main).cloneNode( );
④  main.cloneNode( );
【多选题】 在javascript中,下面代码表示获取文本框的值,则下列选项中验证文本框为空的条件表达式不正确的是() var userName=document.getElementById(txtName).value;
①  userName==
②  userName.length<=0
③  userName.length<0
④  userName.length=
【多选题】 在javascript中,下面代码表示获取文本框的值,则下列选项中验证文本框为空的条件表达式不正确的是()var userName=document.getElementById(txtName).value;(选择二项)
①  userName==
②  userName.length(=0)
③  userName.length(0)
④  userName.length=
【多选题】 某页面中有一个id为pdate的文本框,下列( )能把文本框中的值改为“2009-10-12”。
①  document.getElementById(pdate).setAttribute(value,2009-10-12);
②  document.getElementById(pdate).value=2009-10-12;
③  document.getElementById(pdate).getAttribute(2009-10-12);
④  document.getElementById(pdate).text=2009-10-12;
【多选题】 某页面中有一个id为pdate的文本框,下列( )能把文本框中的值改为“2009-10-12”。(选择二项)
①  document.getElementById(pdate).setAttribute(value,2009-10-12
②  document.getElementById(pdate).value=2009-10-12
③  document.getElementById(pdate).getAttribute(2009-10-12
④  document.getElementById(pdate).text=2009-10-12
【单选题】 某页面中有两个id分别为mobile和telephone的图片,下面( )能够正确地隐藏id为mobile的图片。
①  document.getElementsByName(mobile).style.display=none;
②  document.getElementById(mobile).style.display=none;
③  document.getElementsByTagName(mobile).style.display=none;
④  document.getElementsByTagName(img).style.display=none;
【单选题】 Although the main characters in the fiction are so true to life, they are certainly _____.
①  imagining
②  imaginative
③  imaginable
④  imaginary
【单选题】 某页面中有两个id分别为mobile和telephone的图片,下面( )能够正确地隐藏id为mobile的图片。(选择一项)
①  document.getElementsByName(mobile).style.display=none
②  document.getElementById(mobile).style.display=none
③  document.getElementsByTagName(mobile).style.display=none
④  document.getElementsByTagName(img).style.display=none
【单选题】 What is their main () of income?
①  source
②  origin
③  save
④  order
【单选题】 main方法是Java应用程序执行的入口点,关于main方法的方法头以下哪项是合法的?( )
①  public static void main()
②  public static void main( String[] args )
③  public static int main(String [] arg )
④  public void main(String arg[] )
随机题目
【判断题】 目前,我国的教师队伍还是以青年教师队伍为主体。
① 
② 
【判断题】 政府应该平等对待民办教育和公办教育。
① 
② 
【判断题】 根据本课程,文化正在推动着人类文明迈上新的台阶。
① 
② 
【判断题】 根据本课程,十九届五中全会提出建设高质量教育体系。
① 
② 
【单选题】 1934年10月,中央红军开始长征后,留在中央根据地领导南方游击战争的是( )。
①  彭德怀、项英
②  项英、陈毅
③  刘伯承、邓小平
④  叶挺、粟裕
【单选题】 ()对于锻造长板、弥补短板,发挥了积极的作用。
①  经验水平
②  认知程度
③  文化程度
④  职业教育
【单选题】 ()是每一个人的基本权利。
①  学习
②  教育
③  认知
④  上学
【单选题】 根据本课程,()在提高社会道德水平方面作用很大。
①  家庭教育
②  在线教育
③  学校教育
④  企业教育
【单选题】 党的十九届五中全会强调,要加快转变政府职能,推动建设()的政府治理体系,这是推进政府治理的核心和关键,也是准确全面贯彻新发展理念、构建新发展格局的必然要求。
①  财政稳定、经济高效
②  重点突出、财政稳定
③  职责明确、依法行政
④  职责明确、财政稳定
【单选题】 习近平总书记指出,面向未来,要坚持把()作为根本任务,把服务国家作为最高追求,把学科建设作为发展根基,把深化改革作为强大动力,把加强党的建设作为坚强保证。
①  立德树人
②  国家富强
③  民族复兴
④  人民幸福