Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.77 KB

File metadata and controls

31 lines (20 loc) · 1.77 KB

Introduction To AJAX With jQuery

This is my directory following the PDF version of 'Introduction To AJAX With jQuery'. I am using this book to learn how to use AJAX. This books consists of several lessons/tasks leading up to creating a to-do list that is saved to a .json file and displayed in an html file.

The book was originally found here.

And here.

NOTE: Chrome gave me the this error: "Access to XMLHttpRequest at 'file:///Users/jamiebort/Documents/LearningDirectory/IntroductionToAJAXWithjQuery/YourFirstAjaxApplication/javascript2/pets.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https."

To address this I am using this: https://www.npmjs.com/package/http-server (this was discovered here from this article: https://stackoverflow.com/questions/10752055/cross-origin-requests-are-only-supported-for-http-error-when-loading-a-local)

by typing this: http-server -c-1

into bash at this point: ~/Documents/LearningDirectory/IntroductionToAJAXWithjQuery/

Table of Contents

First Lesson, "Your First Ajax Application"

Second Lesson, "The To-Do List Application"

Third Lesson, "Saving Data with Ajax"