<html>
<body>
<form>
<input type="password" accesskey="p" id="password1" />
</form>
<p>AccessKey for password field is:
<script type="text/javascript">
x=document.getElementById('password1');
document.write(x.accessKey);
</script></p>
</body>
</html>