MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

billbeteille

Member since
billbeteille

Recent Docs Activity

View all activity
Page Date Comment

Event.preventDefault()


addEventListener was not executed even though it was a script executable. Script executable statements are ignored unless they are purposely executed. Hence, it was included in the init function which was called by the body onload method.