which

English [w?t?] US [hw?t?,w?t?]

which, which, which? ?? ??? ??? ?????

adj.

?? ????? jquery ???

??: which ??? ?? ?? ??? ???? ?????.

??: ??event.whic

????:

ParametersDescription
event ?????. ??? ???? ?????. ??? ????? ??? ??? ???? ?????.?

?? ????? jquery ?

<html>
<head>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("input").keydown(function(event){ 
    $("div").html("Key: " + event.which);
  });
});
</script>
</head>
<body>

請隨意鍵入一些字符:<input type="text" />
<p>當(dāng)您在上面的框中鍵入文本時,下面的 div 會顯示鍵位序號。</p>
<div />

</body>
</html>
???? ?? ?

??? ????? ??? "???? ??" ??? ?????