Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

RUJordan

Member since
RUJordan

Recent Docs Activity

View all activity
Page Date Comment

Document.createElement()


Document.createElement()


Document.createElement()


Scripts should be separate from HTML. Assign the document.body an onclick function (or attach an event listener for multiple events) and advocate good JS practices.