Self refers to the window object while "this" refers to a specific object that's being worked on.
And yep, I looked it up so I'm a n00b. ;o) Rey Jörn Zaefferer wrote: > Hi folks, > > the infamous ppk wrote in his blog: > > "I've learnt one other trick for distinguishing newbies and pros: ask > them the difference between |this| and |self|. Usually people who just > claim to be excellent scripters don't know the answer, while real pros do." > > So obviously I am not an excellent scripter, because I don't have any > idea on the difference between those two. And I prefer discussing iton > this instead of crawling through the ECMA spec. > > Anyone? > -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/