【单选题】【消耗次数:1】
页面中有一个id为price的层,并且有一个id选择器price用来设置层price的样式,在IE浏览器中运行此页面,下面( )能正确获取层的背景颜色。
document.getElementById(price).currentStyle.backgroundColor
document.getElementById(price).currentStyle.background-color
document.getElementById(price).style.backgroundColor
var divObj=document.getElementById(price);document.defaultView.getComputedStyle(divObj,null).background;
参考答案:
复制
纠错
相关题目
【单选题】 页面中有一个id为price的层,并且有一个id选择器price用来设置层price的样式,在IE浏览器中运行此页面,下面( )能正确获取层的背景颜色。(选择一项)
①  document.getElementById(price).currentStyle.backgroundColor
②  document.getElementById(price).currentStyle.background-color
③  document.getElementById(price).style.backgroundColor
④  var divObj=document.getElementById(pricedocument.defaultView.getComputedStyle(divObj,null).background;
【多选题】 在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=
【单选题】 Your price is ______ the high side.
①  on
②  as
③  for
④  in
【单选题】 Sorry, we cannot further______ the price.
①  deepen
②  shorten
③  lower
④  simpler
【单选题】 To _________ their new shampoo, they are selling it at half price for a month.
①  progress
②  proceed
③  promote
④  propose
【单选题】 Hello, may I talk to the manager about the price?
①  Sorry, he is out at the moment
②  No, you can’t
③  Sorry, you can’t
④  I don’t know
【单选题】 —Can I help you?—Id like to buy a present for my fathers birthday, _____ at a proper price, but of great use.
①  that
②  anyone
③  one
④  everything
【单选题】 7. The fall in price is directly ______ to the increase in output.
①  concerned
②  connected
③  related
④  united
【单选题】 9.We _______ happy about the price of meat.
①  dont
②  are not
③  wont
④  werent being
随机题目
【判断题】 水行政执法对未满14周岁的相对人也可以行政处罚。
①  正确
②  错误
【判断题】 雷诺护垫主要用于水利堤防、岸坡、海曼等的防冲刷结构。
①  正确
②  错误
【判断题】 多孔质护岸可以兼顾生态型护岸和景观型护岸的要求。
①  正确
②  错误
【判断题】 生态袋会压抑植被的生长。
①  正确
②  错误
【单选题】 人工曝气、底泥疏浚等属于()方法:。
①  A物理
②  B化学
③  C生物
④  D运动
【多选题】 植被型生态混凝土护坡又称为绿化混凝土,由()组成。
①  A.多孔混凝土
②  B.保水材料
③  C.缓释肥料
④  D.表层土
【判断题】 进行河道综合治理,对&ldquo;两美浙江&rdquo;和&ldquo;五水共治&rdquo;战略的实施有重要的意义。
①  正确
②  错误
【判断题】 格宾挡墙依靠其本身重力维持稳定,是具有柔性、透水性及整体性的结构。
①  正确
②  错误
【多选题】 河道护岸带可以通过()等过程,降低河流的污染。
①  A.过滤
②  B.渗透
③  C.吸收
④  D.沉积
【判断题】 投加化学药剂的方法会造成二次污染,且治理费用较高。
①  正确
②  错误