Developer Training: How to Work With jQuery and AJAX


show more Working with jQuery and AJAX provides you with in-depth training on Developer. Taught by Ray Villalobos as part of the JavaScript and AJAX show less
please wait ...

Working with jQuery and AJAX

jQuery is a great library and one of its mottos is that you can write less and do more, and one of the places where you can really see that is when working with AJAX. So let's take a look at how we can use AJAX with jQuery. jQuery provides several methods for working with AJAX calls, and you can see all them in this page right here. So for the most part, you end up working with one or two of these. So let's go ahead and load some content onto our page. Our HTML file is a simpler version of what we had in the last chapter, just a div with an id of update, and we're loading the jQuery as well as our script file.

The script document right now is empty, and our data file just has the words Hello World. So I'm going to switch over to my script and I'm going to type in some jQuery right here. So I'm going to target the update id element and then load into it our data.txt document. So let me save that and switch over to my browser, refresh my document, and you can see t...

Working with jQuery and AJAX
Video duration: 3m 52s 1h 12m Intermediate

Viewers:

Working with jQuery and AJAX provides you with in-depth training on Developer. Taught by Ray Villalobos as part of the JavaScript and AJAX

Subjects:
Developer Web
Software:
Ajax JavaScript
Author:
please wait ...