jQuery ($.ajax) tutorial to retrieve JSON-encoded data using CORS

preview_player
Показать описание
Video is a simple Ajax tutorial on how to retrieve JSON-encoded data from a server using jQuery ($.ajax). Cross-Origin Resource Sharing (CORS) is explained in the video.

This tutorial is geared to programmers and developers. Knowledge of JavaScript, jQuery, HTML, CSS and PHP are assumed.

Table of Contents
- HTML: 0:58
- CSS: 1:31
- JavaScript: 2:52
- PHP (no header), failed test: 4:36
- PHP (with header), successful test 5:29

The source code can be found here:

My website:
Рекомендации по теме