aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/document/keyup_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/api/document/keyup_event/index.html')
-rw-r--r--files/zh-tw/web/api/document/keyup_event/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-tw/web/api/document/keyup_event/index.html b/files/zh-tw/web/api/document/keyup_event/index.html
index 3568b30c18..34e82ab7f2 100644
--- a/files/zh-tw/web/api/document/keyup_event/index.html
+++ b/files/zh-tw/web/api/document/keyup_event/index.html
@@ -78,7 +78,7 @@ translation_of: Web/API/Document/keyup_event
<tr>
<td><code>key</code> {{readonlyInline}}</td>
<td>DOMString (string)</td>
- <td>The key value of the key represented by the event. If the value has a printed representation, this attribute's value is the same as the <code>char</code> attribute. Otherwise, it's one of the key value strings specified in {{ anch("Key values") }}. If the key can't be identified, this is the string "Unidentified". See <a href="/en-US/docs/Web/API/KeyboardEvent#Key_names_and_Char_values">key names and char values</a> for the detail. Read Only.</td>
+ <td>The key value of the key represented by the event. If the value has a printed representation, this attribute's value is the same as the <code>char</code> attribute. Otherwise, it's one of the key value strings specified in <a href="#key_values">Key values</a>. If the key can't be identified, this is the string "Unidentified". See <a href="/en-US/docs/Web/API/KeyboardEvent#Key_names_and_Char_values">key names and char values</a> for the detail. Read Only.</td>
</tr>
<tr>
<td><code>charCode</code> {{readonlyInline}}</td>
@@ -90,7 +90,7 @@ translation_of: Web/API/Document/keyup_event
<tr>
<td><code>keyCode</code> {{readonlyInline}}</td>
<td>Unsigned long (int)</td>
- <td>A system and implementation dependent numerical code identifying the unmodified value of the pressed key. This is usually the decimal ASCII ({{ RFC(20) }}) or Windows 1252 code corresponding to the key; see {{ anch("Virtual key codes") }} for a list of common values. If the key can't be identified, this value is 0.
+ <td>A system and implementation dependent numerical code identifying the unmodified value of the pressed key. This is usually the decimal ASCII ({{ RFC(20) }}) or Windows 1252 code corresponding to the key; see <a href="#virtual_key_codes">Virtual key codes</a> for a list of common values. If the key can't be identified, this value is 0.
<div class="warning"><strong>Warning:</strong> This attribute is deprecated; you should use <code>key</code> instead, if available.</div>
</td>
</tr>