(イベント) type イベントタイプを返します


書式
event.type
文例
theType = event.type
上位オブジェクト
event
説明
イベントタイプを返します。ondragdrop,onmouseup,onmousedow,onkeydown,onkeyup,onkeypressの文字を返しますのでイベントタイプによって分岐させる事もできます。
関連
ondragdrop, onkeydown, onkeypress, onkeyup, onmousedown, onMouseOut, onMouseOver, onmouseup