JavaScript涔犻搴?- 鐧惧害鏂囧簱

难度 中等

30下列的哪一个表达式将返回假

A.!(3<=1) B.(4>=4)&&(5<=2) C.(“a”==”a”)&&(“c”!=”d”) D.(2<3)||(3<2) 答案:B 难度 中等

31下列选项中,( )不是网页中的事件

A.onclick B.onmouseover C.onsubmit D.onbutton 答案:D 难度 一般

32有语句“var x=0;while(____) x+=2;”,要使while循环体执行10次,空白处的循环判定式应写为: A.x<10 B. x<=10 C.x<20 D.x<=20 答案:D 难度 一般

33 JS语句 var a1=10; var a2=20; alert(“a1+a2=”+a1+a2) 将显示( )结果

A.a1+a2=30 B.a1+a2=1020 C.a1+a2=a1+a2 答案:B

难度 难

34将字串s中的所有字母变为小写字母的方法是( )

A.s.toSmallCase() B.s.toLowerCase() C.s.toUpperCase() D.s.toUpperChars() 答案:B 难度 一般

35以下( )表达式产生一个0~7之间(含0,7)的随机整数. A.Math.floor(Math.random()*6) B. Math.floor(Math.random()*7) C.Math. floor(Math.random()*8)

D.Math.ceil(Math.random()*8) 答案:C 难度 中等

36 产生当前日期的方法是( )

A.Now(); B.Date C.new Date() D.new Now() 答案:C 难度 一般

37如果想在网页显示后,动态地修改网页内容( )

A.是不可能的 B.通过document.write(“新的标题内容”)

C. 通过document.title=(“新的标题内容”) D. 通过document.changeTitle(“新的标题内容”)

答案:B 难度 一般

38某网页中有一个元素是按钮,其id是myButton,表述该按钮对象的方法是()

A.document.forms.myButton B.document.getElementById(“myButton”) C.document.forms[0].element[0] D.以上都可以 答案:B 难度 容易

39 HTML文档的树状结构中,()标签为文档的根节点,位于结构中的最顶层。 A. B. 答案:A 难度 容易

40在HTML页面中,CSS样式的属性名为background-image,对应的style对象的属性名是()。 A.background 答案:B 难度 难

41在使用Javascript实现省市级联菜单功能时,在添加城市列表前清空原来的下拉选项的代码是() A.document.myform.selCity.options.clear()

B.backgroungImage

C.image

D.background

C.

D. </p><p> </p><p> </p><p>B. document.myform.selCity.options.deleteAll() C. document.myform.selCity.options.length=0 D. document.myform.selCity.options.size=0 答案:C 难度 难 </p><p>42 HMTL表单的首要标记是<form>,<form>标记的参数method表示表单发送的方法,可能为get或post,下列关于get和post的描述正</p><p>确的是() </p><p> A.post方法传递的数据对客户端是不可见的 </p><p>B.get请求信息以查询字符串的形式发送,查询字符串长度没有大小限制 C.post方法对发送数据的数量限制在255个字符之内 D.get方法传递的数据对客户端是不可见的 答案:A 难度 一般 </p><p>43在DOM对象模型中,下列选项中的()对象是DOM对象中最主要的对象。 A.history B.document C.button D.text 答案:B 难度 容易 </p><p>44在HTML文档对象模型中,history对象的()用于加载历史列表中的上一个URL页面。 A.next() B.back() C.forward() D.go(0) </p><p></p><div class="page"><ul><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_1.html>1</a></li><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_2.html>2</a></li><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_3.html class="hover" >3</a></li><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_4.html>4</a></li><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_5.html>5</a></li><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_6.html>6</a></li><li><a title=下一页 href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_4.html>>></a></li><li><a href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_27.html>27</a></li></ul></div></div> <div style="margin:0 auto;text-align:center;overflow:hidden"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 728 --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-8169456067121985" data-ad-slot="2791506239"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <div class="hm-t-main"> <div class="hm-t-header"><h4><a rel="nofollow" target="_blank" href="/mlhdl_1e9dx1y2a13fre38hic91cf865brly010l6.html">下载:JavaScript涔犻搴?- 鐧惧害鏂囧簱.doc</a></h4></div> </div> <div class="nlt new"><div id="hm_t_19094"><div class="hm-t-container"><div class="hm-t-main"><div class="hm-t-header"><h4>最近浏览</h4></div> <ul class="hm-t-list hm-t-list-txt"> <li><a title="数据结构知识点总结" href=lhd_3u1jt2q7vn0fluh9boav3qhtz4wh9l00tvr_8.html>数据结构知识点总结</a></li><li><a title="JavaScript习题库" href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_7.html>JavaScript习题库</a></li><li><a title="Unit13 We are trying to save the earth 教" href=lhd_8w1g84lk7c85bn68adco_1.html>Unit13 We are trying to save the earth 教</a></li><li><a title="诺西LTE指标提取SQL语句20160801" href=lhd_2jrtf97zse9pg7y7h9uq_8.html>诺西LTE指标提取SQL语句20160801</a></li><li><a title="JavaScript习题库" href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_2.html>JavaScript习题库</a></li><li><a title="水产组织胚胎学复习题及答案(分章节) - 图文" href=lhd_0vwp450g7f9nplw1m1vv_1.html>水产组织胚胎学复习题及答案(分章节) - 图文</a></li><li><a title="通信系统仿真上机实验指导书" href=lhd_33yo23c2sc9sc9k3qcxw_1.html>通信系统仿真上机实验指导书</a></li><li><a title="16套计算机等级考试一级理论题(含答案) - 图文" href=lhd_4rvkj9iqna9kfa351dui_1.html>16套计算机等级考试一级理论题(含答案) - 图文</a></li><li><a title="2011《财务管理》习题集及答案" href=lhd_6ie2d1gxmt6zh7s4fk5b_12.html>2011《财务管理》习题集及答案</a></li><li><a title="会计学概论+答案+刘永泽" href=lhd_4s8sw98ik64uc568dlz0_2.html>会计学概论+答案+刘永泽</a></li> </ul></div><div style="margin:0 auto;text-align:center;"><br> </div></div></div></div> <div class="nlt new"><div id="hm_t_19094"><div class="hm-t-container"><div class="hm-t-main"> <div class="hm-t-header"><h4>最新搜索</h4></div> <ul class="hm-t-list hm-t-list-txt"> <li><a title="学术英语综合课后答案季佩英" href="lhs_i1ykdrpv5rn1p30glkrniglqod0klki1vfoppv5_1.html">学术英语综合课后答案季佩英</a></li><li><a title="南理工学〔2013〕522号- 学生工作处" href="lhs_ggnmx2ijpi1y9hw01e01c01d01f9hx01h01e01egl301900wi1yn4vijpfochl0_1.html">南理工学〔2013〕522号- 学生工作处</a></li><li><a title="2014通化事业单位公共基础知识—历史常" href="lhs_01e01c01d01gsgqgeufijffegglfnxg30g35hdmnr4nolrly6c4ghygkyim0_1.html">2014通化事业单位公共基础知识—历史常</a></li><li><a title="北人ERP系统操作手册" href="lhs_gevfju01x02a028oorp27jwtfocjezg3w_1.html">北人ERP系统操作手册</a></li><li><a title="概率论习题册答案中国地质大学" href="lhs_kuamtjrlmfhcu54g3wod0klkffxh6lh80rvshlzi1y_1.html">概率论习题册答案中国地质大学</a></li><li><a title="城市地租与土地区位" href="lhs_hceikih80o2nff2h7jh80gfufnx_1.html">城市地租与土地区位</a></li><li><a title="英雄无敌3精灵之殇" href="lhs_pv5ts4k4gk0c01fon2m7pfgrl8n_1.html">英雄无敌3精灵之殇</a></li><li><a title="Unit13 We are trying to save t" href="lhs_02d03202x03801d01f00w02f02t00w02p03602t00w03803603d02x03202v00w03803300w03702p03a02t00w038_1.html">Unit13 We are trying to save t</a></li><li><a title="法制教育工作总结" href="lhs_lhxg8mk0ppf6ijpfocj0bp1v_1.html">法制教育工作总结</a></li><li><a title="书法章法 - 图文" href="lhs_fhilhxo9slhx00w01900wh6mk1z_1.html">书法章法 - 图文</a></li></ul></div></div></div></div> <div class="search"> <form style="display: inline;" id=f1 name=f1 method="POST" onSubmit="javascript:c();return false;"> <div class="p_searchinputbox"> <div class="p_search_seclet"><h3 id="j_searchType">站内搜索</h3></div><p> <input type="text" autocomplete="off" maxlength="38" name="word" placeholder class="searchinput"></p> <input type="submit" class="searchsubmit" onclick="javascript:c();return false;"></div> </form> </div> <div id="ft"> <a href="javascript:history.go(-1)"><span class="backPrevPage" style=""></span></a> <a href="javascript:pageScroll();"><span id="backTop"></span></a> <div class="bx1"> <span class="pc_ver"> <a href="#" onClick="javascript:setCookie('gotoweb', 'true', 1);window.location.href=window.location.href.replace('//m.','//www.').replace('/m','/')">电脑版</a> </span> <span class="info"> <a href="about.asp?id=3" target="_blank"><strong>关于南京廖华答案网</strong></a> </span> </div> <div class="bx2"><span id=bb></span>联系客服:779662525#qq.com(#替换为@)</div> </div> <!-- footer End --></div> <script type="text/javascript">function go2(id){window.location.href='http://32336.cn/lhdl_'+id+'.html';}</script> <script src="css/jquery.min.js"></script> </body></html>