Problems with jQuery getJSON using local files in Chrome

前端 未结 7 1504
情书的邮戳
情书的邮戳 2020-11-22 16:21

I have a very simple test page that uses XHR requests with jQuery\'s $.getJSON and $.ajax methods. The same page works in some situations and not in others. Specificially,

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 17:03

    This is a known issue with Chrome.

    Here's the link in the bug tracker:

    Issue 40787: Local files doesn't load with Ajax

提交回复
热议问题