I am trying to learn jQuery. I keep seeing people using different methods of declaring variables.
I have seen var variable;, var $variable;, and $variable;. Which one (if any of these) is the official correct way to declare jQuery variables.
var variable;
var $variable;
$variable;