blob: 96452abcc0cebd52a037df0ad8e2986f7715c622 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
---
title: HTMLElement.blur()
slug: Web/API/HTMLElement/blur
tags:
- API
- HTML DOM
- HTMLElement
- Method
- Reference
translation_of: Web/API/HTMLOrForeignElement/blur
---
<p>{{ APIRef() }}</p>
<h3 id="Summary" name="Summary">概述</h3>
<p><strong>blur</strong>方法用来移除当前元素所获得的键盘焦点.</p>
<h3 id="Syntax" name="Syntax">语法</h3>
<pre class="eval">element.blur()
</pre>
<h3 id="Specification" name="Specification">规范</h3>
<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-28216144">blur</a></p>
<h3 id="相关链接">相关链接</h3>
<ul>
<li><a href="/zh-cn/DOM/element.focus" title="zh-cn/DOM/element.focus">DOM element focus</a></li>
</ul>
<p>{{ languages( { "fr": "fr/DOM/element.blur", "pl": "pl/DOM/element.blur", "en": "en/DOM/element.blur" } ) }}</p>
|