When attaching event handlers/listeners to objects some browsers assume "this" refers to the object the handler is attached to and others assume it is referencing the object that triggered the event. To make sure we are referencing the right object we assign "this" to another name when we define the original object. Most people use "self" as that name.
Comments
No comments yet. Leave a Comment
