Wrong documentation for Syntax examples for some DOM:element event handlers

RESOLVED FIXED

Status

Documentation
Web Developer
RESOLVED FIXED
10 years ago
6 years ago

People

(Reporter: rahov, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12
Build Identifier: *

Go to http://developer.mozilla.org/en/docs/DOM:element
And inspect descriprtion for onkeydown event.
The Syntax example is:
  event handling code = element.onkeydown 
but it should be 
  element.onkeydown = event handling code

The same is aslo valid for:
 onkeyup
 onmousedown
 onmousemove
 onmouseout
 onmouseover
 onmouseup

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Finally fixed for events listed here:
https://developer.mozilla.org/en/DOM/element#Event_Handlers
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.