答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
某页面中有一个id为main的div,div中有两个图片和一个文本框,下列( )能够完整地复制节点main及div中所有的内容。(选择一项)
①
document.getElementById(main).cloneNode(true);
②
document.getElementById(main).cloneNode(false);
③
document.getElementById(main).cloneNode( );
④
main.cloneNode( );
参考答案:
复制
纠错
相关题目
【单选题】
某页面中有一个id为main的div,div中有两个图片和一个文本框,下列( )能够完整地复制节点main及div中所有的内容。
①
document.getElementById(main).cloneNode(true);
②
document.getElementById(main).cloneNode(false);
③
document.getElementById(main).cloneNode( );
④
main.cloneNode( );
查看完整题目与答案
【多选题】
在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=
查看完整题目与答案
【多选题】
某页面中有一个id为pdate的文本框,下列( )能把文本框中的值改为“2009-10-12”。(选择二项)
①
document.getElementById(pdate).setAttribute(value,2009-10-12
②
document.getElementById(pdate).value=2009-10-12
③
document.getElementById(pdate).getAttribute(2009-10-12
④
document.getElementById(pdate).text=2009-10-12
查看完整题目与答案
【多选题】
某页面中有一个id为pdate的文本框,下列( )能把文本框中的值改为“2009-10-12”。
①
document.getElementById(pdate).setAttribute(value,2009-10-12);
②
document.getElementById(pdate).value=2009-10-12;
③
document.getElementById(pdate).getAttribute(2009-10-12);
④
document.getElementById(pdate).text=2009-10-12;
查看完整题目与答案
【单选题】
某页面中有两个id分别为mobile和telephone的图片,下面( )能够正确地隐藏id为mobile的图片。(选择一项)
①
document.getElementsByName(mobile).style.display=none
②
document.getElementById(mobile).style.display=none
③
document.getElementsByTagName(mobile).style.display=none
④
document.getElementsByTagName(img).style.display=none
查看完整题目与答案
【单选题】
某页面中有两个id分别为mobile和telephone的图片,下面( )能够正确地隐藏id为mobile的图片。
①
document.getElementsByName(mobile).style.display=none;
②
document.getElementById(mobile).style.display=none;
③
document.getElementsByTagName(mobile).style.display=none;
④
document.getElementsByTagName(img).style.display=none;
查看完整题目与答案
【单选题】
Although the main characters in the fiction are so true to life, they are certainly _____.
①
imagining
②
imaginative
③
imaginable
④
imaginary
查看完整题目与答案
【判断题】
div是一个区域容器标记,即div/div之间相当于一个窗口,可以容纳段落、标题、表格、图片等各种HTML元素。( )
①
正确
②
错误
查看完整题目与答案
【单选题】
页面中有一个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;
查看完整题目与答案
随机题目
【单选题】
位移法的基本未知量是( )。
①
结点位移
②
多余约束力
③
杆件的变形
④
支座位移
查看完整题目与答案
【单选题】
<img src=http://60.205.157.60/course/a@EF85C647CCC2A2E4A83FC4D6502CF3FD.png title=单选题图14.png alt=单选题图14.png/>图14示单跨梁的传递系数 是( )。
①
0
②
-1
③
0.5
④
2
查看完整题目与答案
【单选题】
<img src=http://60.205.157.60/course/a@E051F620C245FD49670F9383D0B8F3C2.jpg title=单选题图3.jpg alt=单选题图3.jpg/>如图3所示为四根材料相同、直径相等的杆件。承载能力大的是( )杆。
①
图a。
②
图b。
③
图c。
④
图d。
查看完整题目与答案
【单选题】
在图乘法中,欲求某两点的相对转角,则应在该点虚设( )。
①
竖向单位力
②
水平向单位力
③
一对反向的单位力偶
④
单位力偶
查看完整题目与答案
【单选题】
<img src=http://60.205.157.60/course/a@3BD5823AE12A7D1389E20966DAD9D391.jpg title=单选题图13.jpg alt=单选题图13.jpg/>图13示单跨梁的传递系统CAB是( )。
①
0.5
②
0
③
-1
④
2
查看完整题目与答案
【单选题】
<img src=http://60.205.157.60/course/a@F87801D9001E1076D65A77D630877600.jpg title=单选题图5.jpg alt=单选题图5.jpg/>正方形结构如图5所示,已知各杆的EA都相同,则斜杆1-3的伸长为( )。
①
Δl=2Fa/EA
②
Δl=0
③
Δl= Fa/2EA
④
ABC均错
查看完整题目与答案
【单选题】
位移法的基本未知量是( )。
①
杆件的变形
②
多余约束力
③
结点位移
④
支座位移
查看完整题目与答案
【单选题】
杆件的应变与杆件的( )有关。
①
外力
②
外力、截面
③
外力、截面、材料
④
外力、截面、杆长、材料
查看完整题目与答案
【单选题】
<img src=http://60.205.157.60/course/a@C0162B81CC725509FD8A23E0244D6FB9.jpg title=单选题图9.jpg alt=单选题图9.jpg/>图9所示结构的超静定次数是 ( ) 。
①
1
②
2
③
3
④
4
查看完整题目与答案
【判断题】
力矩分配法的三个基本要素为转动刚度、分配系数和传递系数。
①
正确
②
错误
查看完整题目与答案