【多选题】【消耗次数:1】
某页面中有一个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
【多选题】 在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=
【判断题】 Oct. 1, 2009 can also be written as 10/1/2009.
①  正确
②  错误
【单选题】 某页面中有一个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( );
【单选题】 某项资产是2009年12月购建的,账面原值为人民币300万元整,于2012年12月进行资产评估,已知2009年至2012年的环比物价指数分别为10%、8%、11%、5%,该资产的重置成本约为()万元
①  330
②  377
③  402
④  415
【单选题】 已知某地100名正常成年男子红细胞数的均数为4.78×10(12)/L,标准差为0.38×10(12)/L,该地成年男子红细胞数95%医学参考值范围为
①  4.78×10(12)±2.58*0.38×10(12)/10
②  4.78×10(12)±1.96*0.38×10(12)
③  4.78×10(12)±1.96*0.38×10(12)/10
④  4.78×10(12)±2.58*0.38×10(12)
【单选题】 Word 中打印页码“3-5, 10, 12”表示打印的页码是( )。
①  3, 4, 5, 10, 12
②  5, 5, 5, 10,12
③  3, 3, 3, 10, 12
④  10, 10, 10, 12, 12, 12, 12, 12
【单选题】 文本框不包括( )
①  单行文本框
②  多行文本框
③  密码框
④  非密码框
随机题目
【单选题】 19. Your room is ____ mine.
①  twice as large
②  twice the size of
③  bigger twice than
④  as twice large as
【单选题】 4. I think the story is not so ____as that one.
①  interesting
②  interested
③  more interesting
④  most interesting
【单选题】 3.This book is ____that one, but ____than that one.
①  as difficult as; expensive
②  as more difficult as; more expensive
③  as difficult as; more expensive
④  more difficult as; as expensive
【单选题】 8. My mother is no ____young.
①  shorter
②  longer
③  little
④  few
【单选题】 20. Your room is ____ than mine.
①  three time big
②  three times big
③  three times bigger
④  bigger three times
【单选题】 18. The earth is about ____ as the moon.
①  as fifty time big
②  fifty times as big
③  as big fifty times
④  fifty as times big
【单选题】 15.–What’s your brother like? –He is____.
①  a driver
②  very tall
③  my friend
④  at school
【单选题】 6. I think science is ____than Japanese.
①  much important
②  important
③  much more important
④  more much important
【单选题】 5. His father began to work ____he was seven years old.
①  as old as
②  as early as
③  as soon as
④  as much as
【单选题】 13. The house is ____ small for a family of six.
①  much too
②  too much
③  very tall many
④  many very tall