案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<form>
5
<input type="button" value="Click me!" 
6
accesskey="b" id="button1" />
7
</form>
8
9
<p>The access key for the button is: 
10
<script type="text/javascript">
11
x=document.getElementById('button1');
12
document.write(x.accessKey);
13
</script></p>
14
15
</body>
16
</html>
17