From the course: jQuery: Building an Interface

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Loading up external data

Loading up external data - jQuery Tutorial

From the course: jQuery: Building an Interface

Start my 1-month free trial

Loading up external data

- [Narrator] As we saw in the previous video with events and the ready function jQuery will give you more than one way to do the same thing. Often, there's nothing wrong with choosing one way over another and what you choose is really a matter of preferences. Some methods are shortcuts for other methods and that's definitely the case when we want to load up some data from an external file. jQuery provides a number of methods for handling the loading of data, but before we do anything I have to remind you that this is not going to work unless your files are going to be loaded from a server. So just opening this index.html in your browser is not going to work. You have to upload it through FTP onto a server or run a local server to use the techniques that I'll be showing you here. Now, I've already set up everything for you previously, so make sure you take a look at the video on using the exercises for this course. As I mentioned, jQuery provides a number of methods for loading…

Contents