【单选题】【消耗次数: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
随机题目
【单选题】 下列各项中,都可以重叠的是?
①  漂亮、奇怪、干净
②  虚心、伟大、优秀
③  喷香、漆黑、卫生
④  美丽、秀丽、良好
【单选题】 现代汉语词类的主要分类标准是?
①  形态
②  功能
③  意义
④  词性
【单选题】 “小李的聪明在班级里是出了名的”一句的主语是?
①  小李
②  聪明
③  小李的聪明
④  小李的聪明在班级里
【单选题】 下列短语中属于中补短语的是?
①  身材魁梧
②  称他为老同志
③  听懂
④  金子似的
【单选题】 “打了一发”这个短语的结构关系是?
①  动宾
②  中补
③  主谓
④  联合
【判断题】 单纯词都是由一个汉字记录的。
①  正确
②  错误
【判断题】 近年来出现的新词“供给侧”属于基本词汇。
①  正确
②  错误
【单选题】 下列各组中,每个成员都与合成词“理事”的结构方式相同的是?
①  革新、平反
②  突破、齐心
③  埋头、隔行
④  吃饱、防卫
【单选题】 下列词义的演变属于词义的转移的是?
①  行李,原来指“使者”或“行人”,现在指出门带的包裹、箱子等
②  金,原来是五色金属的总称,后来专指黄金
③  归,原指女子嫁归男家,后来泛指回家或归宿
④  勾当,原来泛指事情,无论好坏,现在专指坏事
【判断题】 “老者”和“老板”构成方式相同。
①  正确
②  错误