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.
More Related Contents:
- Hide/Show div on specific page with jquery
- How to get a cookie from an AJAX response?
- How to render partial view in MVC5 via ajax call to a controller and return HTML
- jquery html() strips out script tags
- How does GitHub change the URL without reloading a page?
- Jquery and HTML FormData returns “Uncaught TypeError: Illegal invocation”
- Post JSON to Python CGI
- Google Map v3 auto refresh Markers only
- HTML5 validation before ajax submit
- HTML Web Worker and Jquery Ajax call
- jquery ajax load certain div
- HTML Anchor tag redirect link after ajax request
- What happens when no response is received for a request? I’m seeing retries
- How to change the element of another div by clicking and hovering on an element of a different div
- Ajax Upload image
- How to detect if two divs touch with jquery?
- jQuery find closest previous sibling with class
- How to detect input type=file “change” for the same file?
- How to add additional fields to form before submit?
- jQuery Ajax Request inside Ajax Request
- jQuery AJAX form using mail() PHP script sends email, but POST data from HTML form is undefined
- How to get only direct text without tags with jQuery in HTML
- 403 Forbidden error when making an ajax Post request in Django framework
- jQuery select change show/hide div event
- How to use jQuery to add form elements dynamically
- How to generate a thumbnail image after adding an image inside an input type=”file” in a form and submitting them both on the same form
- Get the value of -webkit-transform of an element with jquery
- How to force an HTML form to validate without submitting it via jQuery
- Does Google crawl AJAX content? [closed]
- Using jQuery’s $.ajax within an angularJS controller