Last Comment Bug 384276 - Wrong documentation for Syntax examples for some DOM:element event handlers
: Wrong documentation for Syntax examples for some DOM:element event handlers
Status: RESOLVED FIXED
:
Product: Documentation
Classification: Graveyard
Component: Web Developer (show other bugs)
: unspecified
: x86 All
: -- normal (vote)
: ---
Assigned To: Web Developer Docs
:
Mentors:
http://developer.mozilla.org/en/docs/...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-13 01:37 PDT by rahov
Modified: 2011-03-13 11:44 PDT (History)
1 user (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description rahov 2007-06-13 01:37:01 PDT
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.
Comment 1 Florian Scholz [:fscholz] (MDN) 2011-03-13 11:44:30 PDT
Finally fixed for events listed here:
https://developer.mozilla.org/en/DOM/element#Event_Handlers

Note You need to log in before you can comment on or make changes to this bug.