Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at


Member since

Recent Docs Activity

View all activity
Page Date Comment


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.