【单选题】【消耗次数: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
随机题目
【单选题】 专项应急预案主要是( )及其有关部门为应对某一类型或某几种类型突发公共事件而制定的应急预案
【单选题】 腹泻性贝类安全事故以( )为主
【单选题】 灾区应用最普遍的饮水消毒剂是( )
【单选题】 突发公共卫生事件应急反应的终止需符合的条件是( )
【单选题】 根据突发环境事件的严重程度和发展态势,将应急响应设定成四个级别,其中I级响应为( )级别
【单选题】 关于应急决策,描述错误的是( )
【单选题】 关于样本采集的注意事项叙述有误的是( )
【单选题】 我国实行( )为主的应急管理体制
【单选题】 传染病监测主要属于( )范畴
【单选题】 自吸过滤式防毒呼吸用品可防护不同的有毒气体或蒸气,取决于与面具连接的过滤件。其中B型用于防护( )