MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

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.