【单选题】【消耗次数: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
随机题目
【单选题】 由于温度改变,静定结构()。
①  不产生内力,也不产生位移
②  会产生内力,不产生位移
③  会产生内力,也会产生位移
④  不产生内力,会产生位移
【单选题】 民用建筑通常是由基础、()、()、()、()、地坪、门窗等主要部分组成。
①  墙体或柱、楼板层 、楼梯 、屋顶
②  底版、楼梯 、屋顶、隔层
【单选题】 一传动轴上主动轮的外力偶矩为m1,从动轮的外力偶矩为m2、m3,而且m1=m2+m3。开始将主动轮安装在两从动轮中间,随后使主动轮和一从动轮位置调换,这样变动的结果会使传动轴内的最大扭矩( )。
①  变为零
②  增大
③  不变
④  减小
【单选题】 基本模数是模数协调中选用的基本单位,其数值为100mm,符号为M,即()。
①  1M=100m
②  1M=1000mm
③  1M=100mm
【单选题】 建筑底层为框架结构时,框架结构的定位轴线应与()一致。
①  中部砖混结构平面定位轴线
②  上部砖混结构平面定位轴线
【单选题】 天然土层不能直接建造建筑物,必须经人工加固后才能承受建筑物荷载的土层称( )。
①  天然地基
②  持力层
③  人工地基
④  地耐力
【单选题】 图示结构,若将均布荷载q用其合力ql代替(如虚线所示),则所产生的反力( )。<img src="20190717/1563351831241077.jpg" title="1563351831241077.jpg" alt="建筑力学图片13章1节3.jpg"/>
①  都不发生变化
②  都发生变化
③  水平反力发生变化,竖向反力不变
④  竖向反力发生变化,水平反力不变
【判断题】 变形体虚功原理仅适用于弹性体系,不适用于非弹性体系。
①  正确
②  错误
【判断题】 区段叠加法仅适用于弯矩图的绘制,不适用于剪力图的绘制。
①  正确
②  错误
【单选题】 墙体的设计施工要求必须满足( )。
①  美观
②  结构要求