【单选题】【消耗次数: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
随机题目
【单选题】 年利率8%,按季计息,存期2年,i、n分别是( )。
①  2%,8
②  2%,4
③  8%,8
④  8%,4
【单选题】 <img src=https://exam-online.oss-cn-beijing.aliyuncs.com/1521701820.331.png class=import-img/>
①  第二年年末
②  第三年年初
③  第三年年末
④  第四年年末
【单选题】 某人将5000元存入银行,银行存款利率为10%,按复利计息,第三年的利息为( )元。
①  500
②  605
③  700
④  800
【单选题】 某人将1000元存入银行,银行存款利率为10%,按单利计息,第二年后的本利和为( )元。
①  1100
②  1200
③  1250
④  1300
【单选题】 单利计息与复利计息的区别在于( )。
①  是否考虑资金的时间价值
②  是否考虑本金的时间价值
③  是否考虑先前计息周期累计利息的时间价值
④  采用名义利率还是实际利率
【单选题】 关于资金的时间价值的说法,错误的是( )。
①  现在的100万元与5年后的100万元的价值相同
②  现在的100万元可能与5年后的148万元价值相同
③  现在的100万元可能与2年前的121万元价值相同
④  由于存在资金时间价值,不同时点上发生的现金流量无法直接比较
【单选题】 两项等额的资金,由于时间价值的存在,发生在前的资金的价值( )发生在后的资金的价值。
①  高于
②  低于
③  相等
④  无法确定
【单选题】 资金时间价值是
①  货币经过投资后所增加的价值
②  没有通货膨胀条件下的社会平均资本利润率
③  没有通货膨胀和风险条件下的社会平均资本利润率
④  没有通货膨胀条件下的利率
【判断题】 所有的货币都具有时间价值。
①  正确
②  错误
【多选题】 下列选项中,既有现值又有终值的是( )。
①  复利
②  普通年金
③  先付年金
④  永续年金