Viewers: in countries Watching now:
Ok, so we're going to use jQuery. Which version? There are two major versions of jQuery as of the time I'm recording this video. They are actually branches. They're two different lines of development. There's the 1.x branch and the 2.x branch. So which one are you going to use? First of all, you may already have a version of jQuery installed in the project you're working on. If you want to know of course you can look through the files of your project and see if you have a jQuery.JS or jQuery.min.JS included somewhere in your project. Another way you can look is to load your project in the browser and see if the dollar sign or jQuery object is defined.
This is what that looks like. So I'm here on jQuery.com, and I'm just going to load up my developer tools. Use Cmd+I here in in Chrome. If I just type dollar sign and something is defined here and it appears to be a function. Now, this isn't very helpful. So, what I'm going to do is look for jQuery as well and that is defined. If jQuery was not available, this would tell me that there is an error. So, that's where you can see in your browser by loading your project if jQuery is actually defined. If it is, you've got it, go for it, use it. If you do not have jQuery already, you still need to make the decision of what version to use.
So, if you need to support Internet Explorer Six through Eight, you're going to need to use 1.x, period. jQuery 2 does not support those versions anymore. If you're building a web app or a browser plugin, something that's relatively self-contained, the jQuery folks recommend that you use 2.x. That's one of the use cases that it's built for, especially with its ability to grab little pieces and not necessarily use the entire library. In general I think its still a good idea to use 1.x. There are still more then enough users of those older versions of internet explorer to make it worth your while to keep using 1.x.
It's still fully supported by the jQuery developers and so you might as well use it, unless you know for sure that you don't care about supporting those older versions.
There are currently no FAQs about jQuery for Web Designers.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.