CodeW3C 在線教程
HTML 系列教程
瀏覽器腳本
服務器腳本
編程教程
XML 系列教程
建站手冊
參考手冊
課程表
JS 參考手冊
JS 參考手冊(類別排序)
JS 參考手冊(字母排序)
JavaScript
JS Array
JS Boolean
JS Class
JS Date
JS Error
JS Global
JS JSON
JS Map
JS Math
JS Number
JS Promise
JS RegExp
JS Set
JS String
JS 對象
JS 運算符
JS 運算符優先級
JS 語句
JS 類型化數組
Window
Window 對象
Window Console
Window History
Window Location
Window Navigator
Window Screen
HTML DOM
HTML Document
HTML Element
HTML Attribute
HTML Event
HTML Event 對象
HTML Collection
HTML NodeList
HTML DOMTokenList
HTML Style
Web API
API Canvas
API Console
API Fetch
API Fullscreen
API Geolocation
API History
API MediaQueryList
API Storage
API Validation
API Web
HTML 對象
<a>
<abbr>
<address>
<area>
<article>
<aside>
<audio>
<b>
<base>
<bdo>
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<cite>
<code>
<col>
<colgroup>
<datalist>
<dd>
<del>
<details>
<dfn>
<dialog>
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<footer>
<form>
<head>
<header>
<h1> - <h6>
<hr>
<html>
<i>
<iframe>
<img>
<ins>
<input> button
<input> checkbox
<input> color
<input> date
<input> datetime
<input> datetime-local
<input> email
<input> file
<input> hidden
<input> image
<input> month
<input> number
<input> password
<input> radio
<input> range
<input> reset
<input> search
<input> submit
<input> text
<input> time
<input> url
<input> week
<kbd>
<label>
<legend>
<li>
<link>
<map>
<mark>
<menu>
<menuitem>
<meta>
<meter>
<nav>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strong>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<tfoot>
<th>
<thead>
<tr>
<textarea>
<time>
<title>
<track>
<u>
<ul>
<var>
<video>
其他參考手冊
CSSStyleDeclaration
JS 類型轉換
選修課
課程推薦:
CodeW3C.com 百寶箱
English
中文
繁體中文
Русский
Français
Deutsch
Español
Português
日本語
한국어
Italiano
عربي
हिंदी
বাংলা
Bahasa Malaysia
မြန်မာ
Tiếng Việt
ภาษาไทย
ລາວ
Bahasa Indonesia
اردو
Hausa
Język polski
ਪੰਜਾਬੀ
Svenska
Dansk
Nederlands
Türkçe
suom.
Ελληνικά
فارسی
Kiswahili
తెలుగు
wikang Galu
type 事件屬性
DOM 事件
Event 對象
定義和用法
type 事件屬性返回觸發事件的類型。
實例
返回觸發的
事件類型:
var x = event.type;
親自試一試
語法
event
.type
技術細節
返回值:
字符串值,表示事件的類型。
DOM 版本:
DOM Level 2 Events
瀏覽器支持
表中的數字注明了完全支持該屬性的首個瀏覽器版本。
屬性
Chrome
IE
Firefox
Safari
Opera
type
支持
9.0
支持
支持
支持
DOM 事件
Event 對象
工具箱
JavaScript 和 HTML DOM 參考手冊
JavaScript 實例
JavaScript 測驗
JavaScript 教程
贊助商鏈接