简体   繁体   中英

Write into properties file with angularjs

I have found this link http://javahonk.com/angularjs-read-property-file-value/ on how to read from a property file, but I don't know how I could change the values in it. For example, let's say I have in that file an object like: {id: 1, name: "John"}; I get this and bind the name to a textbox, but then I want to change the value and save it. How can this be done?

Currently it is possible to access File System only in latest Chrome. It is however not standardized and user has to approve the webpage to access to his file system

To use PERSISTENT storage, you must obtain permission from the user to store peristent data

See documentation here http://www.html5rocks.com/en/tutorials/file/filesystem/

In April 2014, it was announced on public-webapps that the Filesystem API spec is not being considered by other browsers. For now, the API is Chrome-specific and it's unlikely to be implemented by other browsers and is no longer being standardized with the W3C.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM