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_of5mx2lgfsgqpabrmdu54_1.html">管理沟通考试题</a></li><li><a title="《数字化测图》03" href="lhs_9hmk1ci1jgeull7h6m9hn01c01f_1.html">《数字化测图》03</a></li><li><a title="反应釜课程设计说明书" href="lhs_gjxiokst8rnio3vrlqrkxrn8k5qfhi_1.html">反应釜课程设计说明书</a></li><li><a title="会计" href="lhs_fmirkx_1.html">会计</a></li><li><a title="第二章 医学伦理学基础理论 - 图文" href="lhs_obwfiko9s00wgfvi1yfmumx2i1yhdmnr4mx2rlm00w01900wh6mk1z_1.html">第二章 医学伦理学基础理论 - 图文</a></li><li><a title="最新《现代交换原理》期末考试试题和答案(" href="lhs_kcgk349hmmuofkzfj8jmqginmx29hnkdbkdnpabrmdrmdu54gp8od0klk014_1.html">最新《现代交换原理》期末考试试题和答案(</a></li><li><a title="中南大学考试试卷 答案三" href="lhs_ffxggnhlzi1ypabrmdrmdghj00wod0klkfex_1.html">中南大学考试试卷 答案三</a></li><li><a title="卫生监督监测管理系统(V1.3)" href="lhs_gh7n4vngxnkzngxll7of5mx2oorp2701402e01d01a01f015_1.html">卫生监督监测管理系统(V1.3)</a></li><li><a title="部编版语文七年级下册第六单元综合性学习 我的语文生活 配套教" href="lhs_smgp3qmkorn1k1zferinop0nfezg3wobwg31gglg1vp30glkizri1yfhc00wjddnesrn1k1zn4vlkr00wsp9hnbk0p_1.html">部编版语文七年级下册第六单元综合性学习 我的语</a></li><li><a title="共青团中国地质大学(武汉)委员会文件" href="lhs_g35tw2h5uffxh6lh80rvshlzi1y014l7qle1015hqsgnsfmik1zfli_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="2019年中国学前教育(幼儿园)市场调研与发展前景预测报告目录" href=lhd_5dw2292zzi8mpoj7ocb09o8y29wtcx00z0p_1.html>2019年中国学前教育(幼儿园)市场调研与发展前景预测报告目录</a></li><li><a title="经济法练习题(全,含答案)" href=lhd_00l7q15brt4yj364r8to_13.html>经济法练习题(全,含答案)</a></li><li><a title="地质灾害危险性评估报告范本" href=lhd_5bsg09tzhy667gi1z1ni_6.html>地质灾害危险性评估报告范本</a></li><li><a title="马原考试复习题 - (带全答案)" href=lhd_3ei6o2xtz60wacx0ffos_8.html>马原考试复习题 - (带全答案)</a></li><li><a title="微观5-成本论 - 图文" href=lhd_5mi9v599ez10e609mkmw_4.html>微观5-成本论 - 图文</a></li><li><a title="《信息组织》知识点汇总(1)" href=lhd_7m0fo3wk2u9kcel7h0ts_3.html>《信息组织》知识点汇总(1)</a></li><li><a title="环保知识试题100及答案" href=lhd_0knsa8wnxr721et5ixox47ty70kcsx00546_1.html>环保知识试题100及答案</a></li><li><a title="软件测试面试题整理-数据库" href=lhd_3z7na08f9j207lq1bbd16zh7s4eqd201d2f_1.html>软件测试面试题整理-数据库</a></li><li><a title="会计" href=lhd_830k641owa8wrp7237t3_7.html>会计</a></li><li><a title="第二章 医学伦理学基础理论 - 图文" href=lhd_6s9ut4ynxz3z01x0bcoo_8.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>