Ajax in Jquery does not work from local file
Solution 1:
Some browsers implement strong security measures to prevent downloaded webpages from accessing arbitrary files on the file system.
Switch to a browser with weaker security (I think Firefox permits access to local files via XHR) or stop trying to run a website without HTTP.
Solution 2:
This is a known problem with Chrome, if you are checking on it. Use XAMPP to run a local webserver, and test your ajax call.
Check this ticket: https://code.google.com/p/chromium/issues/detail?id=40787