Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    the practice of assigning this to another variable is the standard. people generally use self or that as the name (I prefer that as self shadows window.self) Commented Aug 13, 2013 at 13:15
  • possible duplicate of Controlling the value of 'this' in a jQuery event Commented Aug 13, 2013 at 13:15
  • @jbabey - I've also seen self used, though I must admit I find it slightly confusing to use the words interchangably, so I just felt prefixing the this might be clearer to me. I like your suggestion of that though, might adopt it! Thanks Commented Aug 13, 2013 at 13:18