顺丰科技线上笔试

20道IT基础题,10道IT专业题,2道编程题

专业题

1、编写Javascript函数实现网页背景色选择器,下列选项中正确的是(B)
A.function change(color){ window.bgColor=color; }
B.function change(color){ document.bgColor=color; }
C.function change(color){ body.bgColor=color; }
D.function change(color){ form.bgColor=color; }

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript">
        function change(color){
            document.bgColor = color;
        }
    </script>
</head>
<body onload=change("yellow")>
    
</body>
</html>

2、在document对象中,以下哪个不是包含document对象的内容?

A、下拉列表框   B、单选框、复选框   C、状态栏   D、文本域、按钮

3、失去焦点是触发的是什么事件:onblur事件

4、对象:

A、history对象:

B、document对象:

C、navigatior对象;

D、window对象

5、Ajax的核心技术

6、文档结构模型的顶级层次的是什么:

posted @ 2016-10-15 22:33  chenxj  阅读(476)  评论(0)    收藏  举报