Last active
January 16, 2018 10:13
-
-
Save takahiro-itazuri/e922355305303479d75a7b1fcc19e9c4 to your computer and use it in GitHub Desktop.
Chrome上でAjaxを使ってローカルファイルにアクセスする方法 ref: https://qiita.com/takahiro_itazuri/items/c2807b7a7d9d9537cffb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$.get("file.html", function(data) { | |
// 成功時の処理 | |
}) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$.get("file.html", function(data) { | |
// 成功時の処理 | |
}) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd C:\Program Files (x86)\Google\Chrome\Application | |
chrome.exe --allow-file-access-from-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd C:\Program Files (x86)\Google\Chrome\Application | |
chrome.exe --allow-file-access-from-files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment