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_4fxup00w746i8ss1cmvo_2.html>幼儿园学校弱电智能化设计方案 - 图文</a></li><li><a title="最新国家公务员考试《行政职业能力测验》真题及答案" href=lhd_169063t7ug5s23r4b01m9s4tl8lgrm00e7u_8.html>最新国家公务员考试《行政职业能力测验》真题及答案</a></li><li><a title="统编版语文七年级下册第一单元达标测试卷1(含答案)" href=lhd_2fcki8v2fg55t2h95x553fre38hic901162_1.html>统编版语文七年级下册第一单元达标测试卷1(含答案)</a></li><li><a title="公共部门人力资源管理 作业答案" href=lhd_6qvo702g9h797950l88m_2.html>公共部门人力资源管理 作业答案</a></li><li><a title="第二十章 经济增长和经济周期理论" href=lhd_16pl232emn7yqpo85nfv_9.html>第二十章 经济增长和经济周期理论</a></li><li><a title="重庆市各地方周氏支族源流(1-170支族)" href=lhd_5ek139odr56vudb8cepd_14.html>重庆市各地方周氏支族源流(1-170支族)</a></li><li><a title="新理念大学英语学习大厅第三册单元测试答案" href=lhd_373ul5pd7079ew80o94h77xpo5846y00qze_1.html>新理念大学英语学习大厅第三册单元测试答案</a></li><li><a title="2018年生猪养殖及猪肉行业现状及发展趋势分析(目录)" href=lhd_4k9gd16szi0cqsi0v0jd0weks4q8c700npe_1.html>2018年生猪养殖及猪肉行业现状及发展趋势分析(目录)</a></li><li><a title="国际货物运输与保险复习题(内附答案)" href=lhd_5ndjl7ffkk8n6j4879hw6x2111f20r00ba9_4.html>国际货物运输与保险复习题(内附答案)</a></li><li><a title="2020-2024年中国电子元器件行业深度分析及产业投资战略研究报告" href=lhd_2385601gd83ibqw7s1xb7s7tu43ow500toz_1.html>2020-2024年中国电子元器件行业深度分析及产业投资战略研究报告</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_rkxoevke2sg9jjdu54g2wsmg_1.html">计算机选择题全部</a></li><li><a title="理论试题一" href="lhs_mx2rlmrmdu54feo_1.html">理论试题一</a></li><li><a title="2012证券交易重点摘要" href="lhs_01e01c01d01erltg8ofj8k5vsstm9ljtkr5t_1.html">2012证券交易重点摘要</a></li><li><a title="计班计算机组成原理复习重点白中英版" href="lhs_rkxmwdrkxoevke2p1gjdcginmx2hl9fhcsstm9lnelffxpv5mko_1.html">计班计算机组成原理复习重点白中英版</a></li><li><a title="一年级绘本教案" href="lhs_feoinop0np20kdok0pklk_1.html">一年级绘本教案</a></li><li><a title="中级财务会计之重点1" href="lhs_ffxp0nrvmgblfmirkxfgrsstm9l01d_1.html">中级财务会计之重点1</a></li><li><a title="广东省教育厅教研室 吴惟粤 - 图文" href="lhs_inzffgni9k0ppf6ghxk0pnpwi3o00wgmsj4vomc00w01900wh6mk1z_1.html">广东省教育厅教研室 吴惟粤 - 图文</a></li><li><a title="第二代支付系统报文交换标准公共控制系统分册资料" href="lhs_obwfikfkzjzjfkooorp27jhhk1zfj8jmqkjrg5ig30g35jong8moorp27g7ag3wrwkk2h_1.html">第二代支付系统报文交换标准公共控制系统分册资料</a></li><li><a title="师幼关系" href="lhs_ikoinwg37oor_1.html">师幼关系</a></li><li><a title="机械制造工艺学复习题" href="lhs_ke2kogg8msgwijpprui1yhl9fhcu54_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://www.32336.cn/lhdl_'+id+'.html';}</script> <script src="css/jquery.min.js"></script> </body></html>