How (In javascript, Jquery, or Ajax & such) can I load a local text file or xml file into a variable?

后端 未结 1 664
执笔经年
执笔经年 2021-01-16 22:51

First, I know won\'t work. I have tried Ajax, and other things, but Google has security, so

相关标签:
1条回答
  • 2021-01-16 23:14

    This is impossible, for now. If you want to load local file in web project you can use java applet. Javascript gives access only to cookies and web storage.

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