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="JavaScript涔犻搴?- 鐧惧害鏂囧簱" href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_3.html>JavaScript涔犻搴?- 鐧惧害鏂囧簱</a></li><li><a title="JavaScript习题库" href=lhd_1e9dx1y2a13fre38hic91cf865brly010l6_4.html>JavaScript习题库</a></li><li><a title="1980-2013年历年考研英语真题集含答案(word版)" href=lhd_98hj57i3an721es5ih1l_13.html>1980-2013年历年考研英语真题集含答案(word版)</a></li><li><a title="2019-2020学年人教版高中生物必修一第6章 细胞的生命历程 微专题四 Wo" href=lhd_0z19h0qggo862m61dk4v721et5ixw1005p3_1.html>2019-2020学年人教版高中生物必修一第6章 细胞的生命历程 微专题四 Wo</a></li><li><a title="金风科技信息化建设思路 - 图文" href=lhd_7j85u1q78v721et5igyh_6.html>金风科技信息化建设思路 - 图文</a></li><li><a title="2019-2025年中国车载充气泵行业发展趋势及投资前景预测报告" href=lhd_48u8w2sqod48fsc2a7r62i4cx3q5hp00q2s_7.html>2019-2025年中国车载充气泵行业发展趋势及投资前景预测报告</a></li><li><a title="美食之家 - 图文" href=lhd_2hg0g13f6u9kcek7h0su_8.html>美食之家 - 图文</a></li><li><a title="考研单词记忆" href=lhd_1yyrt0u39z3pit885vk9_23.html>考研单词记忆</a></li><li><a title="宁杭高铁接触网作业指导书" href=lhd_1xh026cx533qhtz4wka8_8.html>宁杭高铁接触网作业指导书</a></li><li><a title="考研单词记忆" href=lhd_1yyrt0u39z3pit885vk9_21.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="2015最新辩论修养史广顺 完整期末答案 98分" href="lhs_01e01c01d01hkcgk34sdlrlmfseg3fgkyinzu4a00wi30k1gkdbkdnod0klk00w01l01kg7a_1.html">2015最新辩论修养史广顺 完整期末答案 98分</a></li><li><a title="TST交换网络课设" href="lhs_02c02b02cfj8jmqp5dp24rnirlq_1.html">TST交换网络课设</a></li><li><a title="2015年消费者权益保护知识网络竞赛题库之二" href="lhs_01e01c01d01hinolmwrw9padkebngqfrxjhgnolrlyp5dp24o9qrx7u54iojfgrfik_1.html">2015年消费者权益保护知识网络竞赛题库之二</a></li><li><a title="农村小学综合实践活动资源的开发与利用的实践研究" href="lhs_g4ckepi6ni1yp30glki3is1hlkrgbsrwklu8nesirkgk1ff2g89n54nesi3is1hnpwo6u_1.html">农村小学综合实践活动资源的开发与利用的实践研究</a></li><li><a title="SPSS课件第16章" href="lhs_02b02802b02brnifliobw01d01io9s_1.html">SPSS课件第16章</a></li><li><a title="徐秋儿写作实训练习1" href="lhs_ivko23g1rg49foci3irl9p1ffhc01d_1.html">徐秋儿写作实训练习1</a></li><li><a title="实验室安全考试题库" href="lhs_i3iuj0i3oi2xg2wpabrmdu54ioj_1.html">实验室安全考试题库</a></li><li><a title="人的因素(执照培训)" href="lhs_fjunesh5sops014jfrmefhdlrl9015_1.html">人的因素(执照培训)</a></li><li><a title="江西财经大学最近两年税法期末试卷及答案" href="lhs_lenr5rrvmp1rhlzi1ykcgsepffoinoo3ylhxkdbkdnrmdghjgjuod0klk_1.html">江西财经大学最近两年税法期末试卷及答案</a></li><li><a title="南京交通职业技术学院2013届毕业生优秀论文展" href="lhs_ggnfjgfj8sgqpccffejggkdri1ytpe01e01c01d01fi8alatffen4vfmgo1srlmk1zi8l_1.html">南京交通职业技术学院2013届毕业生优秀论文展</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://www.32336.cn/lhdl_'+id+'.html';}</script> <script src="css/jquery.min.js"></script> </body></html>