this question has answer here:
- why javascript variable start dollar sign? 15 answers
searched duplicates couldn't find any..
is there substantial difference between:
var $foo = $(this); and
var foo = $(this); ??
no difference. $ valid character in variables. it's visual cue tells that's jquery object.
Comments
Post a Comment