Re:Finally someone makes sense of JavaScript's this keyword
by davej on Saturday April 23, 2011 @12:26PM
(#2477069)
Spot on, I do the same (but I use $this as the variable name).
[ Parent
| on HN ]
Re:Finally someone makes sense of JavaScript's this keyword
by techiferous on Saturday April 23, 2011 @03:48PM
(#2477398)
I use the $ sigil to differentiate between variables that are DOM elements and variables that are jQuery-wrapped DOM elements.