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_88ady4apxh1qw0b8dn6n_12.html>工程造价咨询服务方案范本</a></li><li><a title="2019届高考生物一轮复习真题精练(含答案解析)必修1 第1单元 第1讲 课后" href=lhd_3bu6b1dvz83gznb0gt563y3j84vsq000ae8_2.html>2019届高考生物一轮复习真题精练(含答案解析)必修1 第1单元 第1讲 课后</a></li><li><a title="国际贸易实务习题集答案" href=lhd_1k9dx9icr12wkqq4m2n6_1.html>国际贸易实务习题集答案</a></li><li><a title="藻类苔藓和蕨类 习题(含答案)" href=lhd_2ms0x68swc1symv1jox557eja0pqkz006ng_1.html>藻类苔藓和蕨类 习题(含答案)</a></li><li><a title="政府采购考题汇总" href=lhd_5qs0x1647q0zn011oo6h6et871df8g0195h_3.html>政府采购考题汇总</a></li><li><a title="牛津译林版高中英语必修一高一英语期末复习测试题(五).docx" href=lhd_18qqt23bjl2mdyx423a46cyp27lzc201bni_3.html>牛津译林版高中英语必修一高一英语期末复习测试题(五).docx</a></li><li><a title="中级听说scripts Unit 1-3" href=lhd_4ii3d47veh10ttd0oe0n_2.html>中级听说scripts Unit 1-3</a></li><li><a title="江苏省计算机一级考试题" href=lhd_97fpi11k291is530735i_2.html>江苏省计算机一级考试题</a></li><li><a title="C语言习题集及答案 1" href=lhd_1wl4914cnu6k2tg1y0pe_7.html>C语言习题集及答案 1</a></li><li><a title="污水处理厂自控系统方案" href=lhd_345ss8utgw44p5c1cp2i5zpak1cslt00dcu_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_h6ltolrw8k5vi3igblfhcu54ts6od0klk_1.html">国际贸易实务习题集答案</a></li><li><a title="最新人教版pep小学五5年级英语教案教学" href="lhs_kcgk34fjuk0pmko03402t034i6ni1yfis01hinop0npv5rn1k0pklkk0pi1y_1.html">最新人教版pep小学五5年级英语教案教学</a></li><li><a title="[新部编版]2019-2020年高考物理" href="lhs_02jk34smgp3qmko02l01e01c01d01l01901e01c01e01cinoul4pabmllmx2_1.html">[新部编版]2019-2020年高考物理</a></li><li><a title="西安石油大学学生成绩管理系统的分析与设计报告" href="lhs_r5ri2xnozlh5hlzi1yi1yn4vjdcp2hof5mx2oorp27nesg7akggff2rlqrkxjhhgne_1.html">西安石油大学学生成绩管理系统的分析与设计报告</a></li><li><a title="普通铣床的数控化改造设计" href="lhs_k8esgqterioanesk1cjongeujztsgwrlqrkx_1.html">普通铣床的数控化改造设计</a></li><li><a title="节水灌溉监理细则" href="lhs_ps2ldgm6klu1ngxmx2p1ig7t_1.html">节水灌溉监理细则</a></li><li><a title="基于飞思卡尔单片机自动循迹小车控制的设计" href="lhs_hdmfimu72izhggxi6sgglmknke2pnugbsiwasfti6nsbqjong8mnesrlqrkx_1.html">基于飞思卡尔单片机自动循迹小车控制的设计</a></li><li><a title="浙江省中型水库大坝安全鉴定及小型水库大坝安全技术认定大纲" href="lhs_llllenni9ffxhajldgiojhlzh99i2xg2wsxgi3egjui6nhajldgiojhlzh99i2xg2wjggkdrrl0i3ehlzp0y_1.html">浙江省中型水库大坝安全鉴定及小型水库大坝安全技术认定大纲</a></li><li><a title="马哲练习题" href="lhs_ui4gs2p1ffhcu54_1.html">马哲练习题</a></li><li><a title="4年级奥数2 - 图文" href="lhs_01ginop0nhnpk1c01e00w01900wh6mk1z_1.html">4年级奥数2 - 图文</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>