Problems with jQuery getJSON using local files in Chrome

前端 未结 7 1556
情书的邮戳
情书的邮戳 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条回答
  •  猫巷女王i
    2020-11-22 17:02

    @Mike On Mac, type this in Terminal:

    open -b com.google.chrome --args --disable-web-security
    

提交回复
热议问题