What's the difference between $ and $$? It seems like they both return a list of nodes, but filter isn't applicable to $$ and throws an exception.
What are the other differences?
1 Answer
$ is a variable name. $$ is a different variable name.
jQuery assigns a function to the $ variable.
jQuery does nothing (by default) to the $$ variable (so it will be undefined unless something else assigns a value to it).