是否可以使用 angularjs 或 javascript 在 .txt 文件中写入文本?
Is it possible to write text in .txt file using angularjs or javascript?
是否可以在不使用任何后端的情况下使用 javascript 或 angularjs 或 phonegap 在 .txt 文件中写入文本
Is it possible to write text in .txt file using javascript or angularjs without using any backend
简答 - 否
详细答案:
您必须将文件存储在某个地方,并且只能在服务器端完成。
客户端(AngularJs 在您的情况下)在 Web 浏览器上加载 vendors/bundle 源并且它无法访问您的文件系统。
我相信Chrome extensions: fileSystem不是你的情况
is it possible in phonegap?
好吧,它是一个混合移动基础架构,而且您有 plugins to access mobile filesystem
是否可以在不使用任何后端的情况下使用 javascript 或 angularjs 或 phonegap 在 .txt 文件中写入文本
Is it possible to write text in .txt file using javascript or angularjs without using any backend
简答 - 否
详细答案:
您必须将文件存储在某个地方,并且只能在服务器端完成。
客户端(AngularJs 在您的情况下)在 Web 浏览器上加载 vendors/bundle 源并且它无法访问您的文件系统。
我相信Chrome extensions: fileSystem不是你的情况
is it possible in phonegap?
好吧,它是一个混合移动基础架构,而且您有 plugins to access mobile filesystem