Closed Bug 1217291 Opened 9 years ago Closed 9 years ago

typo in code example

Categories

(Developer Documentation Graveyard :: API: HTML, defect, P5)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dormilich, Unassigned)

References

()

Details

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

in the code box under "Basic Example" the DOM method should be document.getElementById("myAnchor") not document.getElementByID("myAnchor").
Fixed.

Thanks for pointing out the mistake Dormilich. Just in case you didn't know, MDN is a wiki and you can just edit any page by clicking the "edit" button on the top right part of the page.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.