Load local JSON files via file:// triggers cross-domain null origin violation, solution? (jQuery)

前端 未结 1 413
轻奢々
轻奢々 2020-12-19 12:58

I have a webpage I\'d like to use locally, without a web server, by simply opening the local HTML file in my browser. This webpage in question loads data via jQuery\'s getJs

相关标签:
1条回答
  • 2020-12-19 13:25

    Try running Chrome with --allow-file-access-from-files.

    0 讨论(0)
提交回复
热议问题