Searched for duplicates but couldn't find any..
Is there any substantial difference between:
var $foo = $(this);
and
var foo = $(this);
??
Searched for duplicates but couldn't find any..
Is there any substantial difference between:
var $foo = $(this);
and
var foo = $(this);
??
 
    
    No difference. $ is a valid character in variables. It's a visual cue that tells you that's a jQuery object.
