I have something simple like this:
$(selector).append("somestuff");
But since I\'m going to reuse the selector I cache it with:
"$" is a function in jQuery. So when you call $(selector), you're actually calling the function $ with selector as the argument.
$
selector
Generally, don't use the "$" as part of a variable name for javascript. You will only confuse yourself.