JavaScript和记事本 [英] JavaScript and Notepad
问题描述
我用JavaScript创建了一个小程序,它创建了一些特定数据。
需要存储这些数据。将创建附加数据,需要使用先前的重复数据进行检查。然后,需要将新数据添加到先前存储的数据中。可能是稍后我不需要保存某些部分数据,我应该可以删除。
我想用记事本进行数据存储那个时刻。
这个节目是关于音乐的,所以我可以有一百万左右。
< blockquote>请参阅我对该问题的评论。这没有任何意义。对于浏览器的JavaScript:用于存储会话中的数据或本地会话之间,您可以使用 Web存储。请参阅:
http://en.wikipedia.org/wiki/Web_storage [< a href =http://en.wikipedia.org/wiki/Web_storagetarget =_ blanktitle =New Window> ^ ],
https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API [< a href =https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API\"target =_ blanktitle =New Window> ^ ]。
I have created a small programme with JavaScript, which creates some specific data.
This data need to be stored. Additional data would be created which needs to be checked with the earlier data for duplicates. Then the new data needs to be added to the previously stored data. May be later on I don't need certain portions of the data saved, which I should be able to delete.
I would like to use notepad for data storage for the moment.
This programme is concerning music and so I could have a million digits or so.
Please see my comment to the question. It really makes no sense. In case of browsers' JavaScript: for storing data withing the session or between session locally, you can use Web storage. Please see:
http://en.wikipedia.org/wiki/Web_storage[^],
https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API[^].
—SA
这篇关于JavaScript和记事本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!