 <p>I ran your code and I got this error: XMLHttpRequest cannot load <a href="http://api.jquery.com/get/" rel="nofollow">http://api.jquery.com/get/</a>. Origin null is not allowed by Access-Control-Allow-Origin.</p> <p>I googled it and I got this: <a href="http://stackoverflow.com/questions/8456538/origin-null-is-not-allowed-by-access-control-allow-origin">Origin null is not allowed by Access-Control-Allow-Origin</a></p>