案例:jQuery案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<script type="text/javascript" src="/js/jquery.js"></script>
4
<script type="text/javascript"> 
5
 
6
$(document).ready(function(){
7
    $(":file").css("background-color","#B2E0FF");
8
});
9
 
10
</script>   
11
 
12
</head>
13
<body>
14
<html>
15
<body>
16
 
17
<form action="">
18
Name: <input type="text" name="user" />
19
<br />
20
Password: <input type="password" name="password" />
21
<br />
22
File: <input type="file">
23
</form>
24
 
25
</body>
26
</html>
27
 
28
 
29
</body>
30
</html>
31