tag; if you do, it's still best to wrap your code in a function so you don't create global symbols unnecessarily:
jQuery's main function, jQuery, is available either as jQuery or $, so the above could be:
...but as $ is used by other libraries, there's a way to make jQuery not use the $ symbol. I mention this so you'll understand why you see jQuery in some code, but $ in other code.
Here's a complete example of using jQuery:
Test Page