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><a name="bot"></a></div> <div class="ad1" style="height:95px;"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- lhtop --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8169456067121985" data-ad-slot="1775442566" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <div class="conter-line"> <a rel="nofollow" class="title2" href="/lhdl_1e9dx1y2a13fre38hic91cf865brly010l6.html" target="_blank">Word文档下载:JavaScript涔犻搴?- 鐧惧害鏂囧簱.doc</a> <a class="top" title="" href="#top"></a> </div> <div class="conter-line"><a class="title2" title="JavaScript涔犻搴?- 鐧惧害鏂囧簱" href="lhs_02202p03a02p02b02r03602x034038ln8mnv9bxjsk01r01900wt9jj53i43_1.html">搜索更多:JavaScript涔犻搴?- 鐧惧害鏂囧簱</a> <a class="top" title="" href="#top"></a> </div><br><br> <div class="conter-line"><a class="title2" href="#">最新浏览</a> <div class="next-txt sile-list"> <ul> <li><a title="生理心理学复习题" href="lhs_n4vmx2iwzmx2i1yhl9fhcu54_1.html">生理心理学复习题</a></li><li><a title="鏈哄叧浼氳?鏈嶅姟宸ヤ綔鐨勫嚑鐐逛綋浼?" href="lhs_t6wgqsgknlmkldf8jpt6wih1hr3i489noot0t9kgdnh3lt8wsgrosrlmk01r_1.html">鏈哄叧浼氳?鏈嶅姟宸ヤ綔鐨勫嚑鐐逛綋浼?</a></li><li><a title="南京理工大学大学生课外学术科研基金项目申请书 2 - 图文" href="lhs_ggnfjgmx2ijphlzi1yhlzi1yn4vrnihlii1ykdro29npwhdmssxu49nhqn5frnbfhi00w01e00w01900wh6mk1z_1.html">南京理工大学大学生课外学术科研基金项目申请书 </a></li><li><a title="微信公众平台在高校思政课实践教学中的应用-精品文档" href="lhs_iwefs1g30fmfinngkwh7sul4kkhizhjzzrnii3is1hk0pi1yffxnesiokn54019on2gqpk1zkmb_1.html">微信公众平台在高校思政课实践教学中的应用-精品</a></li><li><a title="文学常识竞赛题大全(古今中外) 1000字" href="lhs_k1zi1yim0rlyo9qrx7u54hlzg2w014gkkfkaffxhli01500w01d01c01c01ci1j_1.html">文学常识竞赛题大全(古今中外) 1000字</a></li><li><a title="三年级上册数学试题单元衔接题 - 北京版(2018秋)(含答" href="lhs_fexinop0nfeyg3wk1ci1yrmdu54gglg1vqxgjolu5400w01900wgevfjgmko01401e01c01d01ko23015014gmjod0_1.html">三年级上册数学试题单元衔接题 - 北京版(20</a></li><li><a title="(名师整理)最新部编人教版语文八年级下册《一滴水经过丽江》精" href="lhs_014glpikok1gmx2015kcgk34smgp3qfjuk0pmkorn1k1zg2zinop0nfezg3w9hmfeolx0ldgp1rseffgdlen9hnon2_1.html">(名师整理)最新部编人教版语文八年级下册《一滴</a></li><li><a title="2018年中国数字阅读行业分析报告-市场运营态势与发展前景预" href="lhs_01e01c01d01kinoffxh6lk1ci1jtmtrnfqx8ffeg7akggjhhgne019ikih8aseoq3piypgcfff2gk1i8lg99k8fu4k_1.html">2018年中国数字阅读行业分析报告-市场运营态</a></li><li><a title="单片机实验三(急救车与交通灯)" href="lhs_gglmknke2i3iuj0fex014izpk0hsbqff2fj8sgqm7j015_1.html">单片机实验三(急救车与交通灯)</a></li><li><a title="中职计算机等级考试题库及配标准答案" href="lhs_ffxpccrkxoevke2ocpp0npabrmdu54iojgjusp9kjrg5iod0klk_1.html">中职计算机等级考试题库及配标准答案</a></li> </ul> </div> </div><br><br> </div> <div class="side"> <div class="side-conter"> <div class="conter-line"> <a class="title3" title="" target="_blank">热门浏览</a> </div> <div class="next-txt sile-list"> <ul><li><a title="中国人民大学2013年拟接收外校推免生名单(学术硕士)" href=lhd_4p9f6981hw8n6j487kja_4.html>中国人民大学2013年拟接收外校推免生名单(学术硕士)</a></li><li><a title="江西省上饶县中学2019届高三仿真考试文科综合试题附答案" href=lhd_7946b58poi0wacw0f2p46m3qp9xkpa00ynn_5.html>江西省上饶县中学2019届高三仿真考试文科综合试题附答案</a></li><li><a title="初三化学上册知识点总结" href=lhd_6iuyl1t82i9y6yn8bcwj_2.html>初三化学上册知识点总结</a></li><li><a title="病历书写质控管理持续改进记录3.5.3.4" href=lhd_6odp24445a5nrao1skkw_5.html>病历书写质控管理持续改进记录3.5.3.4</a></li><li><a title="不动产登记数据整合建库技术规范(试行)" href=lhd_34qi34x44t99g5m14bvi_4.html>不动产登记数据整合建库技术规范(试行)</a></li><li><a title="军事理论课后习题答案" href=lhd_0gxe66kr121xkfx974mo_1.html>军事理论课后习题答案</a></li><li><a title="2020年国家电网安规变电部分题库及答案(共180题)" href=lhd_6pv2223dgq5zpak1cslt1is53085cn00i8r_6.html>2020年国家电网安规变电部分题库及答案(共180题)</a></li><li><a title="现代数字信号处理学习报告(二)" href=lhd_3l3xu746d39acj39qpyw5s23r4b08q00emc_5.html>现代数字信号处理学习报告(二)</a></li><li><a title="城镇燃气输配工程施工及验收规范 CJJ33" href=lhd_1srh408jy44ddq343gv7_3.html>城镇燃气输配工程施工及验收规范 CJJ33</a></li><li><a title="糖果、巧克力行业现状及发展趋势分析" href=lhd_26iho46cmt9jajr89mgt_2.html>糖果、巧克力行业现状及发展趋势分析</a></li> </ul> </div> </div> <div class="ad5s" id="pin"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- njlh4 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-8169456067121985" data-ad-slot="9273546564"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <div class="footer"> <div class="main"> <a class="footer-logo"></a> <ul> <li><a href="new.html" target="_blank">精选文档</a></li> <li><a href="about.asp?id=1" target="_blank"> | 免责声明</a></li> <li><a href="about.asp?id=2">| 服务条款</a></li> <li><a href="about.asp?id=3">| 联系我们</a></li> <li><a href="javascript:go2('lhd_1e9dx1y2a13fre38hic91cf865brly010l6_3.html')">| 举报本页文档</a></li> </ul> <span>All rights reserved Powered by <a href="./"> 南京廖华答案网 </a><br /> 资料来自互联网, 有任何疑问,请联系客服:779662525☒qq.com <a href="https://beian.miit.gov.cn/" target="_blank" class="text">苏ICP备20003344号-2</a> </span></div> </div> <script src="http://cpro.baidustatic.com/cpro/ui/f.js" type="text/javascript"></script> <script type="text/javascript">function c(){if(f1.word.value==''){f1.word.focus();}else{f1.action='ss.asp';f1.submit();}return false;} function go2(t){document.f1.action='about.asp?url='+t;document.f1.target="_blank";document.f1.submit();} </script> <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script> <script type="text/javascript"> $(window).scroll(function() { var h = $(window).height(); var top = $(window).scrollTop(); var rFixedBox = $('#pin').prev().offset(); var fixedTop = rFixedBox.top; if(top>=fixedTop+$('#pin').prev().height()) $('#pin').css({'position':'fixed','top': 0}); else $('#pin').css({'position':'static', 'top':0}); }); </script></body> </html>