jQuery makes programming easier, but on top of that, there are ways you can make programming jQuery easier. Here are a few bits of information that give you insight into jQuery so you can get the most from it.
In the many articles and blog posts on jQuery out there on the Web, you may encounter code like this:
While you’re familiar with
$(‘p’), which selects all the
<p> tags on a page, you may be wondering about this
jQuery() function. Actually, they are one and the same. The code above could also be written like this:
$() is an alias for
jQuery(), and the two are interchangeable. John Resig, the creator of jQuery, realized that programmers would be using the main jQuery function a lot, so rather than force people to type
jQuery() over and over, he ...