ローカルファイルの閲覧方法
#HTML
<script type="text/javascript" language="Javascript">location.href="jqm/demos/index.html"</script>
TARGET = "info";
var url = "JsonStorage";
var xhr = new XMLHttpRequest();
xhr.open("GET", url, false);
xhr.send(null);
var res =xhr.responseText;
res;
ローカルファイルの位置
Dcuments
├Inbox
├Outbox
├bootstrap
│├css
││├bootstrap-responsive.css
││├bootstrap-responsive.min.css
││├bootstrap.css
││└bootstrap.min.css
│├img
││└...
│└js
│ ├bootstrap.js
│ └bootstrap.min.js
├jqm
│├demos
││├css
│││└...
││├docs
│││└...
││├js
│││└...
││└index.html
│├images
││└...
│├jquery.mobile.css
│├jquery.mobile.js
│├jquery.mobile.min.css
│├jquery.mobile.min.js
│├jquery.mobile.structure.css
│├jquery.mobile.structure.min.css
│├jquery.mobile.theme.css
│└jquery.mobile.theme.min.css
├JsonStorage(JSONデータが保存される)
├Shortcuts(
スクリプトが保存される)
└jquery.js
最終更新:2013年02月27日 21:03