JQUERY ------ IMPORTANT NOTE: For this to work, you must use the following line of PHP (or the equivalent code for other languages): header("Access-Control-Allow-Origin: *"); JQUERY SCRIPT