Thanks for the correction Michael. Looks like I didn't look closely enough. Sorry for the noise.
- Richard On Thu, May 14, 2009 at 11:12 AM, Michael Geary <m...@mg.to> wrote: > Nope. > > This: > > var $thisCell, $tgt = $(event.target); > does not mean: > > var $thisCell = $(event.target); > var $tgt = $(event.target); > > After all, there's only one jQuery object being created in the first > example, and two distinct objects in the second. > > Nor does it set both variables to the same object, like this code: > > var $thisCell, $tgt; > $thisCell = $tgt = $(event.target); > What it really means is: > > var $thisCell; > var $tgt = $(event.target); > -Mike > > ------------------------------ > *From:* Richard D. Worth > Yup. See > > > https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Statements/Var > > - Richard > > On Thu, May 14, 2009 at 2:12 AM, runrunforest <craigco...@gmail.com>wrote: > >> >> Hi, >> >> I see this line in a plugin >> >> var $thisCell, $tgt = $(event.target); >> >> does that mean: >> >> var $thisCell = $(event.target); >> var $tgt = $(event.target); >> > >